jaguar5554
asked on
MS Excel Position cursor in Cell C2 in all sheets in a workbook
I am looking for a macro that would place the cursor in Cell C2 of all sheets of a workbook when the file is opened -- regardless of where the cursor was at the time of save. I also need the first sheet of the workbook to be in focus when the file is opened. I currently have the following code running for "all worksheets"; however, when the file is opened, the last sheet is in focus (instead of the first). Any help is greatly appreciated!
Private Sub Workbook_Open()
Dim WSheet As Worksheet
For Each WSheet In Worksheets
WSheet.Activate
Range("C2").Select
Next
End Sub
Private Sub Workbook_Open()
Dim WSheet As Worksheet
For Each WSheet In Worksheets
WSheet.Activate
Range("C2").Select
Next
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER