Using parameters to use different source files dependant on the date.

S

stuckupnorth

I am creating excel worksheets using webtrends. I am trying to get thi
information into a monthly update report excel spreadsheet with a ne
row of information for each month. This would all work fine if I coul
state the source file as filename "-todaysdate-".
I have tried =('e:\reports\monthly\[%yyyy%mm%dd%.XLS]sheet1'!C21)
This does not work...
Once linked to a source file the formula changes to point to tha
specific file. Can anyone please help me. I'm sure its possible someho
and its driving me insane
 
P

pinmaster

Try:

=INDIRECT("'e:\reports\monthly\["&TEXT(TODAY(),"yyyymmdd")&".XLS]sheet1'!C21")

you may need to adjust the date format.

HTH
Jean-Guy
 
Top