Dim SH As Object
For Each SH In ThisWorkbook.Sheets
Debug.Print SH.Name
Next SH
This will also list Excel4 macro sheet and Excel5 module sheets,
but it is very unlikely that you would have these in any workbook
created in Excel 97 or later.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.