Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Chan. I get an error when I run the code though. I will keep playing
with it. Ruan "Chan" wrote in message ... Try this: Sub HideRows1() Worksheets("Jul").Unprotect Password:="abcd" ' Hide Selected Rows on the Worksheet For each c in ("B11:B119") If c.value = "X" then .EntireRow.Hidden = True Else .EntireRow.Hidden = False End if Next Range("C11").Select Worksheets("Aug").Protect Password:="abcd", Scenarios:=True End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Color alternate rows when after hiding selected rows | Excel Worksheet Functions | |||
Hiding worksheet unless selected | Excel Discussion (Misc queries) | |||
Hiding a button when hiding rows | Excel Discussion (Misc queries) | |||
how do i make it so that when a sheat is selected either via link or tab, that xlLastCell is selected. the last on the sheet. | Excel Worksheet Functions | |||
hiding gridlines in selected cell areas | Excel Discussion (Misc queries) |