Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a series of columns I wish to hide, these change depending on the
report selected VBA refers to F18 on sheets1 and changes dependent on the report selected code is; Sheets(2).Select Columns("V:AB").Select ' Resets all columns Selection.EntireColumn.Hidden = False colhide = sheets(1).range("F18") Sheets(2).Select Columns(colhide).Select Selection.EntireColumn.Hidden = True This works if the Columns are a continious block ie. F18 = "B;F" but fails if F18="B:B,F:AA,AC:AC" Any ideas |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
to convert columns to rows having mulit independent group columns | Excel Worksheet Functions | |||
Combine multiple columns into two long columns, Repeating rows in first column | Excel Discussion (Misc queries) | |||
Combine multiple columns into two long columns, Repeating rows in first column | Excel Discussion (Misc queries) | |||
Pivot Table Creating New Columns that Subtract Two Existing Columns | Excel Discussion (Misc queries) | |||
Why text to columns is not available when there is mulipule line . | Excel Worksheet Functions |