Results 1 to 2 of 2

Simulated file references

Threaded View

  1. #1
    Registered User
    Join Date
    10-13-2004
    Posts
    26

    Question Simulated file references

    Sorry if the subject's a little cryptic, hehe. What I want to know is if its possible to use a named formula within a reference to an external file.

    I created a few names that represent the file name, which stays constant except for the date. Its always in a "Filename_DDMMYY.xls" format. For example, "Report_140804.xls" would be the file for August 14, 2004. I know a reference to cell A2 in that file would be formatted as 'Report_140804.xls'!A2. So what I did was create the names:

    fday - used the DAY function to pull the day from a cell
    fmon - used the MONTH function to pull the month from a cell
    fyr - used the RIGHT and YEAR functions to get the year in YY format
    FDate - pulls it all together

    Thing is, I get an error when I try to use it. I kind of figured it wouldn't work as "='Report_FDate.xls'!$L$2$L$30" or "='Report_&FDate&.xls'!$L$2$L$30". It tries looking for files named Report_FDate.xls. I'm just not sure how else it could be implemented. So, can this be done in any way?
    Last edited by carg1; 04-14-2005 at 02:43 PM.

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