Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 709
Default Auto Update of Source File Name

I am using a workbook that has many links to another file as below.
Unfortunately the source file name changes each day, with the new source file
name being based on its creation date. How can I enter a function that will
automatically update the file name (in bold) and takes into account that the
source file name will be based on the previous working days date.



='[041107.xls]Front sheet'!$H$10

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Auto Update of Source File Name

Instead of ='[041107.xls]Front sheet'!$H$10

Let's put 041107.xls in cell A1 and then use:

=INDIRECT("'[" & $A$1 & "]Front sheet'!$H$10")


If we do this for all formulas having this kind of external link, then they
will all refer to cell $A$1 in the current worksheet. This means that
changing $A$1 will re-reference all your linked formulas at once.
--
Gary''s Student - gsnu200715
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto update chart source reference HankW Charts and Charting in Excel 2 January 15th 07 05:16 AM
** Links don't update UNLESS source file is open Jack Links and Linking in Excel 1 July 27th 05 02:02 PM
** Links don't update UNLESS source file is open Jack Links and Linking in Excel 0 July 14th 05 05:55 PM
Pivot Table Auto Update Data Source? Ket Excel Worksheet Functions 1 February 18th 05 11:14 PM
Automatic update of links in destination file when source file mo. Brucgil Excel Discussion (Misc queries) 0 December 2nd 04 04:07 PM


All times are GMT +1. The time now is 01:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"