Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Save value of cell prior to change | Excel Worksheet Functions | |||
Change a cell reference - NO affect until save file?? | New Users to Excel | |||
Save file, refer filename to cell and change directory | Excel Programming | |||
Change cell value immediately after a save | Excel Programming | |||
Change cell value immediately after a save | Excel Programming |