NotOnUrNelly
Technical User
Hi All
I am trying to highlight in an excel the date the any changes where made to the spreadsheet.
IF the spreadsheet was opened and just looked at the date would not change
If any changes where made to the spreadsheet. I need the cells date and time to update accordingly.
I have tried the following simple code below
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Sheets("CM_2003-2004"
.Range("BP1"
.Value = Now
End Sub
but this only seems to work for changes in text. In some instances cell color will change etc. (in the case of this the date will not update)
Many thanks for your help
Jamie
I am trying to highlight in an excel the date the any changes where made to the spreadsheet.
IF the spreadsheet was opened and just looked at the date would not change
If any changes where made to the spreadsheet. I need the cells date and time to update accordingly.
I have tried the following simple code below
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Sheets("CM_2003-2004"
End Sub
but this only seems to work for changes in text. In some instances cell color will change etc. (in the case of this the date will not update)
Many thanks for your help
Jamie