Open sheets as per the range

K

Kashyap

Col H
ABC
XYZ
MNO
PQR

Hi, I have names in ColH and sheets of these names as well which will be
hidden.. I am try a macro to make all the sheets in this specified range to
be visible.

Assist pls..

Thanks
 
J

Jacob Skaria

Try this code...

If this post helps click Yes
--------------
Jacob Skaria


Dim intRow
intRow = 1
Do While Range("H" & intRow) <> ""
ActiveWorkbook.Sheets("" & Range("H" & intRow) & "").Visible = True
intRow = intRow + 1
Loop
 

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

Top