Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide show grouping?

Status
Not open for further replies.

notuserfriendly

Programmer
May 7, 2004
82
SE
Hi I'm trying to find out how to hide and show
a grouping (columns). Trying to use outline but doesn't seem to work.

Code:
ActiveSheet.Outline.ShowLevels 2
ActiveSheet.ShowDetail = False

Anybody?

 
I've had problems with Outlining in VBA before, and ended up doing this:

ExecuteExcel4Macro "SHOW.DETAIL(2,77,TRUE)"

where arg1 is the row, and arg2 is the column, and arg3 is show/hide ( I think ).

Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top