View Single Post
 
Old 12-01-2022, 05:35 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

If you right click the document a context sensitive menu will appear with an Expand/Collapse dropdown which lets you select Expand All Headings.

You can also find the command 'Expand All Headings' to add to the Quick Access Toolbar.

If you wanted it as a VBA command it would be
Code:
ActiveWindow.View.ExpandAllHeadings
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote