+ Reply to Thread
Results 1 to 2 of 2

Evaluating a string Formula/Reference in VBA

  1. #1
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Evaluating a string Formula/Reference in VBA

    Okay, the function works to the point of getting 1 added to the formula of the reference cell, now..how do I get the value in the string that it gives ...My latest attempt:
    Please Login or Register  to view this content.
    After the Red highlighted part of the code runs, Hold contains this string: "Jan!B13", so my question is, how do I reference this cell to get the value stored ?

    Edit-
    And yes, I know i can make the 'Hold =' into a single formula, I just use the multiple assignments to make for easier debugging in the earlier stages
    Last edited by dredwolf; 01-08-2013 at 11:23 PM.
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Evaluating a string Formula/Reference in VBA

    nevermind, found a workaround

    Please Login or Register  to view this content.
    works fine
    Thanks for looking though !

+ 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