Bulk Unhide

S

Stephen

Hi Folks,

I can find my last row of data with...

LastRowOfData = .Cells(.Rows.Count, "F").End(xlUp).Row
For X = 1 To LastRowOfData

But how can I then select rows 1 through LastRowOfData then unhide all at
once??

-Not that they are all hidden in the firstplace, but I think it would run
faster then looping through each row and unhiding it if it is hidden.

TIA,

Steve
 
J

JE McGimpsey

No reason to select:

.Range("1:" & .Cells(.Rows.Count, 6).Row).EntireRow.Hidden = False
 
S

Stephen

ok now I just feel dumb... that was too simple.

thanks, that's going to come in very handy!
 

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