+ Reply to Thread
Results 1 to 3 of 3

Using a formula to declare a variable's value

  1. #1
    Forum Contributor
    Join Date
    10-16-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2003, 2010
    Posts
    151

    Using a formula to declare a variable's value

    Hi all

    I am trying to find a way to assign a value to a variable based on the current weeknum. The macro is creating reports on production from the previous week and my attempt was:
    Please Login or Register  to view this content.
    but doesn't seem to be working, am I doing it wrong or do I need to use a helper cell to get the variable value?

    Thanks
    Last edited by jacob@thepenpoint; 05-02-2012 at 04:57 PM. Reason: Solved
    Jacob Albers
    Excel 2003 & 2010

  2. #2
    Forum Contributor tkowal's Avatar
    Join Date
    11-20-2010
    Location
    Miami, Fl
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: Using a formula to declare a variable's value

    Try something like this:

    Please Login or Register  to view this content.
    Ted
    "Live Long and Prosper"

  3. #3
    Forum Contributor
    Join Date
    10-16-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2003, 2010
    Posts
    151

    Re: Using a formula to declare a variable's value

    Thanks Ted! That worked beautifully.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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