Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Sheets("Sheet1").Range("A1") = Application.UserName
Sheets("Sheet1").Range("A2") = Now
End Sub
On 2002-10-11 06:27, pmdown wrote:
Hi dk.
I am still confident, that my solution is much better.
For example: if You want register "who last saved that file and the date" by Your way:
You must add Your macro in every new Workbook and in all existing workbooks (!?!)
If You have 500 Workbooks You must in each add Your macro. Inconceivable.
My solution only read the properties of arbitrary Workbook...without macro.
Best Regards
You must add Your macro in every new Workbook and in all existing workbooks (!?!)
If You have 500 Workbooks You must in each add Your macro. Inconceivable.
My solution only read the properties of arbitrary Workbook...without macro.