Can't unhide rows

B

Bob Flanagan

I have a number of rows in the middle of my data that are hidden and whose
height is zero. I have selected the entire sheet and issued both manual
commands (Format, Row, Unhide or autofit) and the row stays hidden. I have
done the same with vb code:

ActiveSheet.UsedRange.EntireRow.Hidden = False
ActiveSheet.UsedRange.EntireRow.AutoFit

and the rows stay hidden. The only way I have found to make a row visible
is to specifically change the row's hidden property. For example:

Rows(663).Hidden = False

Obviously I can rotate through all the rows, but that is very inefficient.
The worksheet is not protected. I can delete the rows any time I want.

Any idea why the first two commands above do not work? Using Excel 2003.

Bob
 
S

Sheeloo

It might be due to Advance Filter... Have you tried to clear the filter?

If it does not work then try to change the row hight to a fixed value.

As a last resort, as you said, loop throught the rows and clear the hidden
setting...
 
B

Bob Flanagan

Many thanks. Doing Data, Filter, Show All displayed the rows. Strange....
I didn't see any filter set.

Bob
 
S

Sheeloo

Glad it worked.

Advance Filter (if you filter in place does that) and you don't see the
drop-downs as you do with Auto Filter
 

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