Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
why a row for A4 and a column for B6?
What are your rules, What cells should be checked. Is this something you would do by running a macro, or do you want them to magically hide when you enter the 1 - or is the 1 produced by calculation. Help yourself by providing a complete explanation of what you want to do. sub RunMe() With Range("A4") .EntireRow.Hidden = ( .Value = 1) end with With Range("B6") .entirecolumn.Hidden = (.Value = 1) End With End sub -- Regards, Tom Ogilvy " wrote: HIDING I'd like to be able to hide various rows and columns that have the number 1 in their first position. For example: If A4 =1 then hide row 4. If B6=1 then hide column B. I'm okay with never being alble to hide row 1 or column A so there shouldn't be any conflict/ambiguity. UNHIDING I'm happy to just unhide all when I need to unhide any. How can I do that? Would someone point me in the right direction? Thanks for any help. /e |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hide data in specific rows/colums/cells in Excel 2003 | Excel Discussion (Misc queries) | |||
Chart disappears if you hide rows/colums with data. | Excel Discussion (Misc queries) | |||
Macro to Hide Colums | Excel Programming | |||
macro total for colums with changing # of rows | Excel Programming | |||
What is the quickest way to hide a lot of rows and colums ? | Excel Discussion (Misc queries) |