is there a way to write a macro which can be runed to find all the worksheets in a workbook, then i am able to run other things to do with those worksheets. thanks for any help!
All worksheets or only those who matches criteria?
If so, try this
Sub FindActualWorkSheet()
For sh = 1 To ActiveWorkbook.Sheets.Count
if sheets(sh).name=YourCriteria then
............
else
...........
end if
Next
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.