Auto Close Grouped columns

  • Thread starter Thread starter Michael Wise
  • Start date Start date
M

Michael Wise

Was wondering if there is a way after data is collected that previousl
set up column groups can be closed. Currently if I close them and reru
the script it will open the groups up and leave them open.

THAdvanceNKS

Michae
 
Close them all?

ActiveSheet.Outline.ShowLevels columnlevels:=1

Take a look at VBA's help for showlevels--you can specify rows, too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top