View Single Post
 
Old 04-13-2022, 06:18 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,158
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

I would do this by putting all the content into the one document and bookmarking the sections that need to be 'included' by the user. You then hide all the bookmarked areas. When the user selects a section, you have a macro run that sets that bookmarked range as visible.

We already have code samples on this forum for similar requirements - sometimes these use content controls instead of bookmarks if it is more suitable.

Quote:
I basically have a drop down list of selections that when clicked, populate a section of text from another word document that keeps it's style and formatting.
I'm not sure I understand how you envisage the user will interact with this method. Perhaps a series of Content Control check boxes would be a reasonable interactive method and simplify the coding.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote