Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
The following code is based on one I got from this forum. It hides all columns in my worksheet from AG:IV if the value in row 37 is "Attendance". I really need the flip side of this procedure as well, though, i.e., to hide all columns from AG:IV if the value in row 37 is anything OTHER than "Attendance". Can anyone help? For a = 32 To 255 If Range("a37").Offset(0, a).Value = "Attendance" Then Range("a37").Offset(0, a).EntireColumn.Hidden = True Next a |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hide or Unhide Column Based on Cell Value | Excel Programming | |||
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) | |||
Hide Column - With text in cell | Excel Programming | |||
How to hide a column once any cell of that col. is not active any | Excel Programming |