LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Joe Joe is offline
external usenet poster
 
Posts: 476
Default RETRIEVE DATA FROM ANOTHER WORKBOOK BY CHECKING ON WORKBOOK DATE


This formula:

='[Journal Entries April 2008.xls]PARTS YE'!$E$31

which is in the May workbook looking at the April workbook will update from
a closed April workbook just fine. When I open the May workbook with the
April workbook closed, Excel asks if I want to update from an external
source. I just click OK and it does it. I noticed that it even added the full
path to my formula.

It went from: ='[Journal Entries April 2008.xls]PARTS YE'!$E$31
To: ='C:\Documents and Settings\FULL PATH.................\[Journal Entries
April 2008.xls]PARTS YE'!$E$31

Why then does:

='[Journal Entries April 2008.xls]PARTS YE'!$E$31

work just fine and the same formula that figures the date part (in this
case: APRIL 2008) will not. Hence the need for a macro.

Why can't I just replace [Journal Entries April 2008.xls] with something
like: ="Journal Entries "&TEXT(DATE(YEAR(TODAY()),MONTH(TODAY())-1,1),"MMMM
YYYY") &".xls" (which returns Journal Entries April 2008.xls) And have Excel
ask me to update when I open the workbook just like it does with the 1st
formula above?

I have tried this but the structure of the formula is different. The orginal
formula uses brackets: [ ], while the one just above does not.

Anyway this is what I am trying to do so it is automated.

If someone could figure out how to make this formula work then no macro
would be needed. If it is really not possible I would like to know why so I
don't end up trying this again in the future.

Thank you.
 
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
Are Error-Checking rules (in Excel Options) workbook-specific? JoeM Excel Discussion (Misc queries) 7 May 4th 08 01:30 AM
Retrieve text from filter data in workbook 1 and place values in 2 RHall Excel Discussion (Misc queries) 2 January 6th 08 04:26 AM
Retrieve Excel Workbook Brunopeecees Excel Worksheet Functions 0 November 23rd 06 11:19 AM
How do I retrieve & view multiple matches from another workbook? Michael Excel Worksheet Functions 1 July 12th 06 05:48 PM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM


All times are GMT +1. The time now is 07:05 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"