Thread: [Solved] Dynamically create documents
View Single Post
 
Old 10-12-2012, 09:15 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,370
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

What you'll need for this is a userform with checkboxes for the various chapters and code to test whether a particular checkbox is checked and, if so, import the corresponding chapter.

To see how to create & use a userform, see:
http://gregmaxey.com/word_tip_pages/..._userForm.html
http://www.fontstuff.com/vba/vbatut09a.htm
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote