Auto. Hide & Unhide Rows based empty rows or rows with any value!!!

MarkReddell

Board Regular
Joined
Sep 1, 2011
Messages
210
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Hello everyone! I really need help in auto. hide & unhide rows 5:3666. This worksheet is named Feed Sheet & it is also a pivot table. I have a report starting in row 3667 from the data above in the rows 5:3666. I need for any rows from 5 to 3666 to hide/unhide based on any data entries in those rows from column a:z of any value . I'm hopeful that there is a fix for this issue!!! Thanks very much for any help!!! :confused::confused::confused:
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hello,

Try this where I put Down you can cahnge that to whatever you want


Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Rows("5:3666").Hidden = Range("3667").Value = "Down"


End Sub
 
Upvote 0
I'm not sure how to make this work! I tried with no success. I need for each row to auto hide or unhide based on whether or not the row is empty or not. i.e.: if rows 5:25 have info of any kind; those rows would auto unhide & rows 26:3666 would then auto hide. etc. Is there a answer for this problem??? Thanks again for your help!!!
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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