Hi guys!
I got lots of excel files of the same template and was wondering if you could help me delete all hidden tabs without coding them one by one.
Can below code can be converted so that it would delete all hidden worksheets of all excel files in a folder?
Sub deletehiddenwbs()
Application.DisplayAlerts = False
For Each ws In Worksheets
If ws.Visible <> True Then ws.Delete
Next
Application.DisplayAlerts = True
End Sub
Or if you have any alternative in deleting them in one go please do let me know.
Thank you very much in advance!
Sincerely,
Jowj
Bookmarks