kirkas
08-06-2008, 11:55 AM
I was fortunate enough to run across the following code from this site..
Option Explicit
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Range("A7").Value = "vbGeneralDate"
Range("B7").Value = FormatDateTime(Now, vbGeneralDate)
Columns("A:B").EntireColumn.AutoFit
Range("A1").Select
End Sub
I need help with the following
I have 4 worksheets and each one of them has a different number of
rows.
I want the date and time stamp to appear at a certain position for
each of the sheets. For example one is A8 B8 on another sheet it is A 107 B 107
I need to find a way to have the date stamp appear in different places on different worksheets. Or, Ideally, Have the date stamp appear in the footer. For this project it is very important that I know when the last hard save was done
Any thoughts/ideas/help on the matter would be greatly appreciated. Glad I found this forum!
-K
Option Explicit
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Range("A7").Value = "vbGeneralDate"
Range("B7").Value = FormatDateTime(Now, vbGeneralDate)
Columns("A:B").EntireColumn.AutoFit
Range("A1").Select
End Sub
I need help with the following
I have 4 worksheets and each one of them has a different number of
rows.
I want the date and time stamp to appear at a certain position for
each of the sheets. For example one is A8 B8 on another sheet it is A 107 B 107
I need to find a way to have the date stamp appear in different places on different worksheets. Or, Ideally, Have the date stamp appear in the footer. For this project it is very important that I know when the last hard save was done
Any thoughts/ideas/help on the matter would be greatly appreciated. Glad I found this forum!
-K