Private Sub CommandButton1_Click()
Dim sht As Worksheet
Dim mySheet As String
On Error Resume Next
For Each sht In Worksheets
Sheets(sht).Range("a1").Select
Selection.Font.ColorIndex = 3
Next sht
End Sub
Private Sub CommandButton1_Click()
Dim sht As Worksheet
Dim mySheet As String
On Error Resume Next
For Each sht In Worksheets
Sht.activate
Range("a1").Select
Selection.Font.ColorIndex = 3
Next sht
End Sub