Unhiding Multiple Excel Sheets

  • Thread starter Thread starter Ian
  • Start date Start date
Hi
only possible with VBA. Try something
sub inhide_all
dim wks as workseehts
for eack wks in activeworkbook.worksheets
wks.visible=true
next
end sub
 
after correcting the mispelling of "eack" I still get a data mis-match error. Please advise. Thanks, Bob
 
You might check the spelling of worksheets in the dim statement
 
Don, thanks...I also made that correction, however, it's still buggy. Any assistance would be appreciated as I don't know VB. Bob
 
bobs

You found "eack".

Try changing the spelling of "workseehts" also

"Dim wks as Worksheets"

Gord Dibben Excel MVP
 
bobs

One more correction..

Sub unhide_all()
Dim wks As Worksheet 'correction here, remove the "s"
For Each wks In ActiveWorkbook.Worksheets
wks.Visible = True
Next
End Sub

Gord
 

Ask a Question

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.

Ask a Question

Similar Threads


Back
Top