+ Reply to Thread
Results 1 to 2 of 2

Replace part of formulae - Macro

  1. #1
    Registered User
    Join Date
    10-25-2007
    Posts
    1

    Replace part of formulae - Macro

    I am using a lookup function to create a few graphs but I need to change part of this function with todays date.

    =VLOOKUP($A$1, 'Q:\CVW\InfoShare\Operations\ABS_Stores_Charts\Daily Inv\Archive\[CVWDailyInventory_200710240100.XLS]Sheet1'!$K:$L,2,FALSE)

    Above is my lookup function and I want to replace 20071024 with 20071025, and then for tomorrow it should 20071026 and so on.

    Any ideas on this ?

  2. #2
    Valued Forum Contributor Excelenator's Avatar
    Join Date
    07-25-2006
    Location
    Wantagh, NY
    Posts
    333
    This should give you a basic way to start what you want to do.

    Please Login or Register  to view this content.
    ---------------------------------------------------
    ONLY APPLIES TO VBA RESPONSES WHERE APPROPRIATE
    To insert code into the VBE (Visual Basic Editor)
    1. Copy the code.
    2. Open workbook to paste code into.
    3. Right click any worksheet tab, select View Code
    4. VBE (Visual Basic Editor) opens to that sheets object
    5. You may change to another sheets object or the This Workbook object by double clicking it in the Project window
    6. In the blank space below the word "General" paste the copied code.

+ 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