Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is there a way to insert the date a document was/is changed as opposed to the
"current" date when the document is opened? I'd like to indicate when actual changes to a spreadsheet occured instead of just indicating every time the document was opened. Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Maybe you could use a little macro that runs each time someone clicks File|Save?
Option Explicit Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) With Me.Worksheets("sheet1").Range("A1") .Value = Now .NumberFormat = "mm/dd/yyyy hh:mm:ss" End With End Sub This goes under the ThisWorkbook module. If you're new to macros, you may want to read David McRitchie's intro at: http://www.mvps.org/dmcritchie/excel/getstarted.htm dhspeller wrote: Is there a way to insert the date a document was/is changed as opposed to the "current" date when the document is opened? I'd like to indicate when actual changes to a spreadsheet occured instead of just indicating every time the document was opened. Thanks -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I create a schedule from a list of dates ? | Charts and Charting in Excel | |||
Change Date Values | Excel Discussion (Misc queries) | |||
How do I get Excel date to change from 1/1/1900? | Excel Worksheet Functions | |||
How to change a excel document into a word document? | Excel Discussion (Misc queries) | |||
How do I set date to change automatically on invoices created wit. | New Users to Excel |