How to Hide a block of blank cells

Art-tt

New Member
Joined
Jun 29, 2011
Messages
2
Hello People.

It has been some 20 years since I played with Excel and now suddenly I find myself with a range of data (200 rows) has one column (O, starting O20) with either values or blanks (redundant), where the redundant blank rows need to be hidden.

Sorting will collect the rows of data leaving a block to be easily be hidden - or so I hope.

I have my end cell (O220).

I have my start cell (O20) and using:

Selection.End(xlDown).Select

takes me to the end of the required data.

Unfortunately moving one cell further down does not provide a cell reference with which to select the block to hide.

Any suggestions?

Thanks.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Why not just filter your data to hide the blank rows?
 
Upvote 0
Hello Glenn,

Duh! Well, rust has obviously taken a good foothold in the intervening 20 years. I think this suggestion will work well in this instance, so many thanks.

Arthur
 
Upvote 0
Hello Glenn,

Duh! Well, rust has obviously taken a good foothold in the intervening 20 years. I think this suggestion will work well in this instance, so many thanks.

Arthur

Hello Arthur,

ha ha ... I hope your rusty parts start working again soon. Glad to help :-)
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,285
Members
452,902
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top