+ Reply to Thread
Results 1 to 3 of 3

Make a cell forumla equal a text string

  1. #1
    Registered User
    Join Date
    01-02-2012
    Location
    Dorset, England
    MS-Off Ver
    Excel 2007
    Posts
    24

    Make a cell forumla equal a text string

    Hi there,

    I am trying to create a dynamic formula. I have written a simple bit of VBA that adds text strings together to create a formula (as a text string). Now all I want to do is use the forumla in a range. The final formula is output as a text string in cell G11. I now want the range F3:F367 to actually use the formula.

    I thought this line: " Sheets("Daily").Range("G12").Formula = G11 " would output the text as a formula in cell G12, but it is just blank.


    Please Login or Register  to view this content.

    Any help greatly appreciated!


    Thanks,

    Adam

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Make a cell forumla equal a text string

    May be try like this...

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    01-02-2012
    Location
    Dorset, England
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Make a cell forumla equal a text string

    Awesome! That worked - I just had to remove the ' "=" & '

    It now looks like this:

    Please Login or Register  to view this content.
    Thanks a lot SixthSense!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1