Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
If the activesheet is a chart then you will need to change Columns to Range. Sheets("Yr Summary - Chart").Range("E:E").EntireColumn.Hidden = True this also works Sheets("Yr Summary - Chart").columns(5).entirecolumn.hidden=true Cheers Andy Chris Gorham wrote: Hi, silly syntax question.... these statements work... Sheets("Yr Summary - Chart").Select Columns("E:E").EntireColumn.Hidden = True Sheets("Chart - Yr Forecast").Select this for some reason doesn't... Sheets("Yr Summary - Chart").Columns("E:E").EntireColumn.Hidden = True what's wrong...?? Chris -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
big stupid question | Excel Discussion (Misc queries) | |||
Probably a Stupid Question | Excel Discussion (Misc queries) | |||
stupid question | New Users to Excel | |||
Stupid Question | Excel Worksheet Functions | |||
Stupid, stupid question.... | Excel Programming |