Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim StartRow As Long
Dim EndRow As Long StartRow = 10 EndRow = 12 Rows(StartRow & ":" & EndRow).Hidden = _ Not Rows(StartRow).Hidden -- Regards, Tom Ogilvy wrote in message ... Jim this seems to solve half of my problem! If I am using the toggle button, what would the code be to allow the first click to unhide the rows and then the second click to hide the rows. The code below hides. Janice -----Original Message----- Maybe this will help a little: Dim StartRow As Long Dim EndRow As Long StartRow = 10 EndRow = 12 Rows(StartRow & ":" & EndRow).Hidden = True -- Jim Rech Excel MVP . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hide row code help | Excel Discussion (Misc queries) | |||
Hide Code | Excel Discussion (Misc queries) | |||
hide code does not hide | Excel Discussion (Misc queries) | |||
Hide VBA code help | Excel Worksheet Functions | |||
Hide Code | Excel Discussion (Misc queries) |