LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ray Ray is offline
external usenet poster
 
Posts: 267
Default Link to non-existent files?

Good morning ..... or afternoon, for some of you ;) -

Let's see how well I can describe my problem:
Let's say that I have 10 stores and each store reports their sales
figures in Excel, with a separate file for each week. So, at the end
of the year, each store would have 52 files ... but at any point during
the year, they of course have less than this amount.

I have a Summary WB with a sheet for each store, with a separate row
for each week. So, A2:A54 contain my week numbers (Row 1 contains
Headers). There's also a Totals sheet with sums up the total store
sales for each week.

Currently, someone goes in each week and manually copies down the
formulas on each tab to update the links to pull in last week's data,
changing the file name to the proper week #. This has worked 'OK' but
it's a bit manual for my liking ...

My first thought was to 'pre-build' the links to the
not-yet-in-existence weekly files, and then just Update_Links (via VBA)
to pull in the most recent data. HOWEVER, doing this creates alot of
'errors', as Excel asks where to find the non-existent files! And with
all of the potentially non-existent week/store combinations, this isn't
efficient.

SO .... my question: is it possible to build the links so that Excel
will first look to see if the file exists? If it does exist, the data
would update ... if not, it would just be ignored.

Assume that the path would be G:\\Server\Folder\[File]Sheet!

TIA,
Ray
XL2002 on XP

 
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
removing automatic link xk Excel Discussion (Misc queries) 0 November 20th 06 04:00 PM
How can I link information between 2 Excel files? Sarahbkelly Excel Discussion (Misc queries) 4 September 9th 05 04:22 PM
Using Indirect Function to link to Other Files Timmy Mac1 Excel Discussion (Misc queries) 1 July 27th 05 12:38 PM
How do I link 2 worksheets in different files? mocha joe Excel Worksheet Functions 2 March 31st 05 07:23 AM
How do link to a remote worksheet using the path value in a field? Michael T. Links and Linking in Excel 3 December 11th 04 08:45 AM


All times are GMT +1. The time now is 11:35 PM.

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"