Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to have a function in Eexcxel that will Automatically capture the save
date (like in Word) for version control. Format would be MMMM/DD/YYYY HH:MM and would like it to be in footer. Please indicate the steps to program it into excel as well. Thank You Dave |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Turn on the macro recorder and record yourself setting a footer. Then turn
off the macro recorder. Then just alter the code to concatentate some text "current text " & format(now,"mmmm/dd/yyyy hh:mm") You could then move that code to the beforesave event. See Chip Pearson's page on events. http://www.cpearson.com/excel/events.htm -- Regards, Tom Ogilvy "Dave" wrote in message ... I need to have a function in Eexcxel that will Automatically capture the save date (like in Word) for version control. Format would be MMMM/DD/YYYY HH:MM and would like it to be in footer. Please indicate the steps to program it into excel as well. Thank You Dave |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
MsgBox ThisWorkbook.BuiltinDocumentProperties("Last save time")
Note that if the file has never been saved this will throw an error... -- HTH... Jim Thomlinson "Tom Ogilvy" wrote: Turn on the macro recorder and record yourself setting a footer. Then turn off the macro recorder. Then just alter the code to concatentate some text "current text " & format(now,"mmmm/dd/yyyy hh:mm") You could then move that code to the beforesave event. See Chip Pearson's page on events. http://www.cpearson.com/excel/events.htm -- Regards, Tom Ogilvy "Dave" wrote in message ... I need to have a function in Eexcxel that will Automatically capture the save date (like in Word) for version control. Format would be MMMM/DD/YYYY HH:MM and would like it to be in footer. Please indicate the steps to program it into excel as well. Thank You Dave |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
As I recall, this property was not maintained by xl97. If the file is used
in both xl97 and higher versions, the value could be incorrect (updated in later versions, but not in xl97). If it is only used in xl97, it would raise and error. Of course, the OP could maintain the property. Chip Pearson's page on Builtin Document properties http://www.cpearson.com/excel/docprop.htm -- Regards, Tom Ogilvy "Jim Thomlinson" wrote in message ... MsgBox ThisWorkbook.BuiltinDocumentProperties("Last save time") Note that if the file has never been saved this will throw an error... -- HTH... Jim Thomlinson "Tom Ogilvy" wrote: Turn on the macro recorder and record yourself setting a footer. Then turn off the macro recorder. Then just alter the code to concatentate some text "current text " & format(now,"mmmm/dd/yyyy hh:mm") You could then move that code to the beforesave event. See Chip Pearson's page on events. http://www.cpearson.com/excel/events.htm -- Regards, Tom Ogilvy "Dave" wrote in message ... I need to have a function in Eexcxel that will Automatically capture the save date (like in Word) for version control. Format would be MMMM/DD/YYYY HH:MM and would like it to be in footer. Please indicate the steps to program it into excel as well. Thank You Dave |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just wondering... How do you know/remember all of these things...
-- HTH... Jim Thomlinson "Tom Ogilvy" wrote: As I recall, this property was not maintained by xl97. If the file is used in both xl97 and higher versions, the value could be incorrect (updated in later versions, but not in xl97). If it is only used in xl97, it would raise and error. Of course, the OP could maintain the property. Chip Pearson's page on Builtin Document properties http://www.cpearson.com/excel/docprop.htm -- Regards, Tom Ogilvy "Jim Thomlinson" wrote in message ... MsgBox ThisWorkbook.BuiltinDocumentProperties("Last save time") Note that if the file has never been saved this will throw an error... -- HTH... Jim Thomlinson "Tom Ogilvy" wrote: Turn on the macro recorder and record yourself setting a footer. Then turn off the macro recorder. Then just alter the code to concatentate some text "current text " & format(now,"mmmm/dd/yyyy hh:mm") You could then move that code to the beforesave event. See Chip Pearson's page on events. http://www.cpearson.com/excel/events.htm -- Regards, Tom Ogilvy "Dave" wrote in message ... I need to have a function in Eexcxel that will Automatically capture the save date (like in Word) for version control. Format would be MMMM/DD/YYYY HH:MM and would like it to be in footer. Please indicate the steps to program it into excel as well. Thank You Dave |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to save excel file on previous date | Excel Discussion (Misc queries) | |||
Excel 2007 Changes date stamp on Save As | Excel Discussion (Misc queries) | |||
Excel 2007 Changes date stamp on Save As | Excel Discussion (Misc queries) | |||
Excel Macro save as date of last friday | Excel Discussion (Misc queries) | |||
Excel :Save date function | Excel Worksheet Functions |