Thread: [Solved] Open en close Chapters
View Single Post
 
Old 08-10-2017, 02:22 AM
edwinm edwinm is offline Windows 10 Office 2016
Novice
 
Join Date: Aug 2017
Posts: 9
edwinm is on a distinguished road
Default Open en close Chapters

I've get the question to make an project document template.
Based on the selection of the project phase, it needs to close some chapters and open some others.

The idea is to reuse the document from phase1 by change the active-x selection to phase2 that will close some chapters and open some new chapters to be filed in.

This to avoid copy pasting information form phase1 document to phase2 document but simply don't close the shared chapters .

But I can't find a way to open and close the chapters by VBA even you can do this by clicking the gray arrow in front of the chapters heading .

Does anyone have an idea on fixing this?
Ore better, does someone have an small example?

Thanks for you support.

Last edited by edwinm; 08-10-2017 at 02:24 AM. Reason: missing word in sentence
Reply With Quote