+ Reply to Thread
Results 1 to 2 of 2

Want to run macro that updates part of a formula reference

  1. #1
    Registered User
    Join Date
    02-23-2007
    Posts
    3

    Want to run macro that updates part of a formula reference

    Is it possible to write a macro that updates the file referenced within a formula to a file precreated and named after today on a daily basis; such as the reference to file "A_20070223" will become file"A_20070224" (or T will become T+1) within the formula by running a macro? The goal is to be able to update the one spreadsheet daily with new data saved in various folders with the macro.

    The formula looks similar to this:

    =SUM([A_20070223.xls]Sheet1!$A$1:$A$16)+SUM([A_20070223.xls]Sheet2!$A$1:$A$16)+SUM([B_20070223.xls]Sheet1!$A$1:$A$16)+SUM([B_20070223.xls]Sheet2!$A$1:$A$16)

    Thanks in advance for any help!
    Last edited by jm2241; 02-24-2007 at 12:03 AM.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Use this macro for your starting point

    Please Login or Register  to view this content.

+ 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