Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How can I make this macro work if my cells contain a text e.g AAA
instead of 0 & work on Sheet1, Sheet2 & Sheet3 Sub Test1() Dim cell As Range For Each cell In Range("c1:j1") If cell.Value < 0 Then cell.EntireColumn.Hidden = True End If Next cell End Sub Thxs |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hide column or row based on a cell in the column or row? | Excel Discussion (Misc queries) | |||
Hide Cell Row and column number | Excel Discussion (Misc queries) | |||
How do I hide text beyond the last column in Excel? | Excel Discussion (Misc queries) | |||
How to hide a column once any cell of that col. is not active any | Excel Programming | |||
Is there a way to hide text in a cell? | Excel Discussion (Misc queries) |