Unhide a row when you filter

ndjustin20

Board Regular
Joined
May 25, 2011
Messages
69
I have a question about showing a row once you filter something. Say I filter and it hides rows 2-7 and shows the results we'll say 8-23. Is there a way to force show say rows 2-4. I tried using Rows("2").Hidden = False after the filter though this didn't do it. Thank you in advance for your help :)

Justin
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Try like so:

Code:
ActiveSheet.Range("2:4").Rows.Hidden = False
ActiveSheet.Range("6:6").Rows.Hidden = False

Gary
 
Upvote 0
AAAAAAAAAAAAAAAAAAAAAAAAA HAHAHAHHAHAHAHAHAH OMG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! What I had worked Rows("2").Hidden = False......I put it in the wrong function :laugh: Thank you very much for you response I really appreciate your time and I need to start using the full syntax as you provided :)

Man I tell you....sometimes it's the simple things when you are trying to figure out why something isn't working :)
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,710
Members
452,939
Latest member
WCrawford

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