Unhiding Multiple Excel Sheets

F

Frank Kabel

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
 
B

bobs

after correcting the mispelling of "eack" I still get a data mis-match error. Please advise. Thanks, Bob
 
B

bobs

Don, thanks...I also made that correction, however, it's still buggy. Any assistance would be appreciated as I don't know VB. Bob
 
G

Gord Dibben

bobs

You found "eack".

Try changing the spelling of "workseehts" also

"Dim wks as Worksheets"

Gord Dibben Excel MVP
 
G

Gord Dibben

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


Top