View Single Post
 
Old 08-01-2018, 08:33 PM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

If you bookmark the chapters and title the checkboxes (as in the attached) and run the macro, it will create a document with those checked chapters with the text replaced from the table.

If you add to or change the texts ensure the content control and bookmark naming is maintained.

If you want the new document to have consecutively numbered chapters then you will need to set a counter and replace the number (i.e. remove the apostrophes from the commented out section).
Attached Files
File Type: dotm CheckboxToShowHideChapters.dotm (29.0 KB, 27 views)
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote