+ Reply to Thread
Results 1 to 2 of 2

Daily Updating an Excel from another whose name Changes daily

  1. #1
    Registered User
    Join Date
    09-15-2006
    Posts
    1

    Daily Updating an Excel from another whose name Changes daily

    Hi,

    I have an Excel sheet (say Static.xls) which takes in input from another sheet (say Today_is_15.xls). Both these sheets have formatted data. However, the File "Today_is_15.xls" is updated daily and subsequently its name also changes to "Today_is_16.xls" and so on.

    Now I don't want to keep linking the file Static.xls with the file "Today_is_XX.xls" on a daily basis. Is there a way, wherein I can just change the filename somewhere (say I store it as text in some cell of "Static.xls") and the Links in "Static.xls" take that name as filename?

    Thanx,
    Wink Blink

  2. #2
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by winkblink
    Hi,

    I have an Excel sheet (say Static.xls) which takes in input from another sheet (say Today_is_15.xls). Both these sheets have formatted data. However, the File "Today_is_15.xls" is updated daily and subsequently its name also changes to "Today_is_16.xls" and so on.

    Now I don't want to keep linking the file Static.xls with the file "Today_is_XX.xls" on a daily basis. Is there a way, wherein I can just change the filename somewhere (say I store it as text in some cell of "Static.xls") and the Links in "Static.xls" take that name as filename?

    Thanx,
    Wink Blink
    try INDIRECT function

    =INDIRECT("["&A2&".xls"&"]"&"Sheet1!$A$1")

    where A2 contains workbook name. when you enter workbook name in A2 this function will return value from sheet1 cell A1 of that workbook.
    you can amend references according to your requirements.
    Last edited by starguy; 09-15-2006 at 07:21 AM.

+ 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