E
elanus
A quick question about links, probably with an obvious answer for thos
in the know.
I want to avoid a value being displayed if a link is not valid becaus
the file does not exist. Is there an 'If Exists' command or similar?
mean for the file, not a cell, since the problem still occurs in th
latter case if a cell in the linked spreadsheet is tested wit
'ifexists'.
I have up to ten individual spreadsheets all containing a field that
want to include in a single composite file. These spreadsheets ar
named 'file1.xls', 'file2.xls', etc.
The composite file that retrieves each of the fields from th
individual files uses the formula ='c:\Excel\[file1.xls]Sheeta'!$E$6
to retrieve the field from the first file
='c:\Excel\[file2.xls]Sheeta'!$E$64 to retrieve the field from th
second file, and so on. So far so good; all fields are retrieved fro
their separate files and I can print a report from the composit
spreadsheet that shows all their values.
Now, sometimes some of the files will be missing. When I open th
composite file to print the new report, I get the normal warning 'Thi
workbook contains links to other data sources' and I am offered th
option to update or not. I select 'Update'.
If some files are not present, I get the further warning 'This workboo
contains one or more links that cannot be updated. To open as is, clic
Continue'. I click Continue.
However, when I look at the composite spreadsheet, the new values fro
the files that exist are displayed (great), but the values from th
missing files still show whatever value was previously in them from th
last update.
I want to be able to see the current state of play; new values fro
files that exist and some kind of null value, or zero, or error messag
from the files that don't exist.
Any advice would be appreciated
in the know.
I want to avoid a value being displayed if a link is not valid becaus
the file does not exist. Is there an 'If Exists' command or similar?
mean for the file, not a cell, since the problem still occurs in th
latter case if a cell in the linked spreadsheet is tested wit
'ifexists'.
I have up to ten individual spreadsheets all containing a field that
want to include in a single composite file. These spreadsheets ar
named 'file1.xls', 'file2.xls', etc.
The composite file that retrieves each of the fields from th
individual files uses the formula ='c:\Excel\[file1.xls]Sheeta'!$E$6
to retrieve the field from the first file
='c:\Excel\[file2.xls]Sheeta'!$E$64 to retrieve the field from th
second file, and so on. So far so good; all fields are retrieved fro
their separate files and I can print a report from the composit
spreadsheet that shows all their values.
Now, sometimes some of the files will be missing. When I open th
composite file to print the new report, I get the normal warning 'Thi
workbook contains links to other data sources' and I am offered th
option to update or not. I select 'Update'.
If some files are not present, I get the further warning 'This workboo
contains one or more links that cannot be updated. To open as is, clic
Continue'. I click Continue.
However, when I look at the composite spreadsheet, the new values fro
the files that exist are displayed (great), but the values from th
missing files still show whatever value was previously in them from th
last update.
I want to be able to see the current state of play; new values fro
files that exist and some kind of null value, or zero, or error messag
from the files that don't exist.
Any advice would be appreciated