Sub LoopThruSheets()
Dim wsSheet As Worksheet
Dim strName As String
On Error Resume Next
For Each wsSheet In Worksheets
' ***START CODE FOR WHATEVER OPERATION YOU NEED. ***
strName = wsSheet.name
MsgBox name
'*** END CODE FOR WHATEVER OPERATION YOU NEED. ***
Next wsSheet
On Error GoTo 0
End Sub
Thursday, March 10, 2005
Subscribe to:
Post Comments (Atom)
1 comment:
Thanks very helpful
Post a Comment