Dynamic conditional hide/unhide rows in particular ranges

Jules99

New Member
Joined
Jan 13, 2015
Messages
12
Hi folks,

Have been struggling fruitlessly with code copied from similar examples for a couple of days, but no luck.
My worksheet has 50 boxes (ranges). See screenshot below (I couldn't see a way to upload the file, sorry).
Basically, i want unused rows in each range to be hidden until my user inputs data in the row above.
The text alongside explains each box explains the action required.

Any help gratefully received as I'm not versed in VBA.

Many thanks.


-- removed inline image ---
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Oh... not sure what happened above. Moderator, feel free to delete my first post.

Will try and explain.
My worksheet has 50 data boxes 9 rows x 4 columns, each separated by one row, making a spacing of 10 rows.
The first row in each range is pre-seeded with data.
At start of day, each range shows the first row (pre-seeded) and the second row (empty) only, the other 7 rows in each range being hidden.
The third row in each range stays hidden until the user puts data in Col D. Then the next free row (4th) unhides, and so on.

Any range can have data input into the second (or subsequent rows) Col D, as each row unhides.
Each range can have a different amount of data (rows hidden or unhidden).

I've struggled fruitlessly with VBA from similar examples.
Help gratefully received. Thanks.
 
Upvote 0

Forum statistics

Threads
1,214,957
Messages
6,122,472
Members
449,087
Latest member
RExcelSearch

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