Im trying to have vba code automatically change the active cell to cell a1 on all of the worksheets in the workbook beforesave event. This is so when the file is opened the next time all of the sheets will be set to cell a1. The following code is what I came up with but it only works on the activesheet.
[VBA]
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Dim wkSheet As Worksheet
For Each wkSheet In Worksheets
Range("a1").Select
Next wkSheet
End Sub
[/VBA]
Any suggestions?
Thanks
Gary