Hide Rows and Cols to infinity

R

Rich

Hi,
I know how to hide Rows or Cols by selecting a range of Rows or Cols and
Right clicking and then selecting Hide. But, the others Rows and Cols show
up beyond those I have just hidden. I don't want any Rows or Cols to show
up after the hidden ones. How can I hide all Rows and Cols from a starting
point to infinity? Thanks,

Rich

(e-mail address removed) (<= remove "Z"s for valid email.)
 
R

Ragdyer

If you wanted column F to be your last visible column, select the *entire*
columnG, then,
<Ctrl> <Shift> <RightArrow>
This should select all the columns out to columnIV,
Right click in the selection, and choose <Hide>.

Do the same thing to hide the rows, using the <DownArrow> instead,
Which should bring you down to row 65536.

Is this what you're looking for?
 
M

macropod

Hi Rich,

One way:
Press F5 (Goto) and enter IV65536. This takes you to the lower right
extremity of Excel's range of available cells.
Next, use the horizontal & vertical scroll bars to scroll back to where your
last 'visible' cell appears.
Then, while holding down the Shift key, select the cell immediately below
and to the right of that cell.
Finally, choose Format|Column|Hide, followed by Format|Row|Hide.

Cheers
 
R

Rich

Perfect, thanks,
rich

Ragdyer said:
If you wanted column F to be your last visible column, select the *entire*
columnG, then,
<Ctrl> <Shift> <RightArrow>
This should select all the columns out to columnIV,
Right click in the selection, and choose <Hide>.

Do the same thing to hide the rows, using the <DownArrow> instead,
Which should bring you down to row 65536.

Is this what you're looking for?
 
R

Rich

Another option. thanks,

Rich

macropod said:
Hi Rich,

One way:
Press F5 (Goto) and enter IV65536. This takes you to the lower right
extremity of Excel's range of available cells.
Next, use the horizontal & vertical scroll bars to scroll back to where
your
last 'visible' cell appears.
Then, while holding down the Shift key, select the cell immediately below
and to the right of that cell.
Finally, choose Format|Column|Hide, followed by Format|Row|Hide.

Cheers
 
D

David McRitchie

If you are simply trying to hide cells that look empty, then hiding cells
is not your best choice, when you have a lastcell problem.

Why do my scrollbars go to row 500 -- my data ends in cell E50?
http://www.contextures.com/xlfaqApp.html#Unused

which will go through all the worksheets in the active workbook fix the lastcell problems

When you open your file take a look at File, properties to get the size
after you run the macro, save, and check File, properties to get the file size.
 

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