ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hiding rows that are included in a named range (https://www.excelbanter.com/excel-programming/376470-hiding-rows-included-named-range.html)

Barb Reinhardt

Hiding rows that are included in a named range
 
I'd like to programmatically hide all the rows that are included in my named
range of TEST. How would I do that. TEST only has one column of data and
multiple rows and is continuous.

Nigel

Hiding rows that are included in a named range
 
Range("TEST").Rows.Hidden = True

conversely, to unhide

Range("TEST").Rows.Hidden = False


--
Cheers
Nigel



"Barb Reinhardt" wrote in message
...
I'd like to programmatically hide all the rows that are included in my
named
range of TEST. How would I do that. TEST only has one column of data
and
multiple rows and is continuous.





All times are GMT +1. The time now is 03:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com