Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi to all!
I want to hide row #3 say, in worksheet 'a', if row #4 in worksheet 'b' is also hidden. And if its not hidden, I want the row in worksheet 'a' also to remain unhidden. Not sure how to do this.... Thanks! Jason Shohet |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
A simple code on selction change or sheet activate event would do the trick:- Sheets("b").Rows(lIndex & ":" & lIndex).Hidden = Sheets("a").Rows(lIndex & ":" & lIndex).Hidden Above code will change sheet b rows to match sheet a. You will nd to impliment loop to go through all rows in sheet a. regards "xz" wrote: Hi to all! I want to hide row #3 say, in worksheet 'a', if row #4 in worksheet 'b' is also hidden. And if its not hidden, I want the row in worksheet 'a' also to remain unhidden. Not sure how to do this.... Thanks! Jason Shohet |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hide a sheet | Excel Discussion (Misc queries) | |||
Hid rows in a hidden sheet. | Excel Discussion (Misc queries) | |||
Sheet hidden and VeryHidden | Excel Discussion (Misc queries) | |||
Can a macro format a hidden sheet? | Excel Discussion (Misc queries) | |||
Naming & renaming a sheet tab | Excel Worksheet Functions |