Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 293
Default Save As Name To Change Cell Value

Greetings,

I am not sure if this question should be asked here or in
microsoft.public.excel.worksheet.functions. Please let me know if I
need to post this there as well. For now, this is the only group I
have posted this question.

I have a series of workbooks with the year and month as the file name
(eg: 2009-01.xls, 2009-02.xls ... etc.). I have this formula in a
cell to capture this new name and then anyplace where the date is
needed, I point back to this cell:

=DATE(MID(CELL("filename",A10),FIND("-",CELL("filename",A10))-4,4),MID(CELL("filename",A10),FIND("-",CELL("filename",A10))+1,2),1)

Seems to work except, I have to calculate the sheet before the results
update.

I could put a button on the sheet to manually calculate. However, I
am looking for an vba solution, if possible.

How can I get this formula to calculate after a save as event has
completed, to reflect the new date range (from the new file name) for
this work book?

Any help will be appreciated.

-Minitman
Reply
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
Save value of cell prior to change Rick Excel Worksheet Functions 2 September 25th 09 06:22 PM
Change a cell reference - NO affect until save file?? MikeR-Oz New Users to Excel 4 September 26th 08 08:32 AM
Save file, refer filename to cell and change directory Metin[_3_] Excel Programming 3 April 23rd 04 02:13 AM
Change cell value immediately after a save Bob Phillips[_5_] Excel Programming 0 August 8th 03 01:27 PM
Change cell value immediately after a save Bob Phillips[_5_] Excel Programming 0 August 8th 03 01:26 PM


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