Hide/Unhide Rows Based on Value of Cell in a Row Above

isinkzat

New Member
Joined
Jun 21, 2021
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hello All,

I have rows 19 through 25 hidden in a worksheet called DASHBOARD. Data is pulled in from another sheet after running a macro and is displayed in the range C7:P18 as spilled arrays. I'd like to be able to have the next hidden row (19) unhide if a value is inserted in C19. After that I'd like to have row 20 unhide if a value is inserted in C20, etc. Also if there is a way to rehide a row if there is no value in C19, C20, C21, etc...that would be even better.

I'm new to VBA, so if any of you could help me out I'd really appreciate it.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,141,715
Messages
5,708,052
Members
421,541
Latest member
Akidev

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
Top