Loading...
Loading...
Loops through every worksheet in the workbook and displays the sheet name.
Sub LoopThroughSheets()
Dim ws As Worksheet
For Each ws In ThisWorkbook.Worksheets
MsgBox "Sheet Name: " & ws.Name
Next ws
End SubRELATED MACROS IN AUTOMATION & VBA