If any cells in range E10:E100 contains anything, hide rows of those cells

jokr1

New Member
Joined
Jan 10, 2016
Messages
46
If any cells in range E10:E100 contains anything, hide rows of those cells.
If rows already hided, reveal rows.

How is this accomplished with VBA?
 
This is what the code supplied by me in post#2 and by Rick in post#3 does.
This is what you initially asked for & then reiterated in the first quote above.


If you want some rows to remain hidden & others to become visible, we will need exact rules as to what to hide & what not to hide.

Sorry I totally missed Richs solution, it does what I asked for!
Am very grateful for the work you have put into this, even if it may be a small thing for you it is a big thanks from me!
 
Upvote 0

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).

Forum statistics

Threads
1,216,100
Messages
6,128,824
Members
449,470
Latest member
Subhash Chand

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