R
Ram
Hi,
I post a question last asking how to do a Workbook_BeforeSave
got the following ( slightly modified by me )
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
Worksheets(1).Range("a5").Value = "Last saved on " & Now & " By " &
Application.UserName
End Sub
This does the trick nicely but now I'd like to add more functionality to it.
Can the same be done if the for individual sheets. I.E.
My workbook contains 4 sheets. Using the above on hitting the save button
the Date & Time is saved regardless of which sheet was modified, what I
would like is a Marco on the 'sheet' so that the Date & Time is saved on the
sheet that's was modified. Easy option is to have only one sheet per book
but not practical.
Can it be done and can you assist ?
FIA
Ram
I post a question last asking how to do a Workbook_BeforeSave
got the following ( slightly modified by me )
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
Worksheets(1).Range("a5").Value = "Last saved on " & Now & " By " &
Application.UserName
End Sub
This does the trick nicely but now I'd like to add more functionality to it.
Can the same be done if the for individual sheets. I.E.
My workbook contains 4 sheets. Using the above on hitting the save button
the Date & Time is saved regardless of which sheet was modified, what I
would like is a Marco on the 'sheet' so that the Date & Time is saved on the
sheet that's was modified. Easy option is to have only one sheet per book
but not practical.
Can it be done and can you assist ?
FIA
Ram