Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Adella Garcia   on Sep 18 In MS Office Category.

  
Question Answered By: Hubayshah Mansour   on Sep 18

Give this a try...

Sub ShowOutlineLevel()

Const SUMMARY_LEVEL = 1
Const SECOND_LEVEL = 2
Const THIRD_LEVEL = 3

'ActiveSheet.Outline.ShowLevels RowLevels:=SUMMARY_LEVEL
'ActiveSheet.Outline.ShowLevels RowLevels:=SECOND_LEVEL
ActiveSheet.Outline.ShowLevels RowLevels:=THIRD_LEVEL

End Sub

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on How to fold/unfold outline's level 1(or any level) in VBA? Or get search suggestion and latest updates.


Tagged: