Created
January 4, 2010 08:11
-
-
Save troter/268399 to your computer and use it in GitHub Desktop.
Activate A1 All.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attribute VB_Name = "ExcelUtil" | |
Sub ActivateA1All() | |
Dim Index | |
For Index = 1 To Worksheets.Count | |
With Worksheets(Index) | |
.Activate | |
.Cells(1, 1).Activate | |
End With | |
Next | |
Worksheets(1).Activate | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment