Forum Discussion
Auto Text
AnilDoshi My recommendation would be to set up a macro-enabled (.dotm) template with the fixed text and insert DOCVARIABLE fields in the locations were the variable data is required and have an autonew macro in the template display a userform that had controls into which the user would insert the variable data.
See the following pages of Greg Maxey's website
http://gregmaxey.mvps.org/Create_and_employ_a_UserForm.htm
http://gregmaxey.mvps.org/Populate_UserForm_ListBox.htm
If there are segments of variable text that you may want to optionally insert, they could be saved as building blocks in the template and a building block Content Control would be inserted into the template at the location where that text is to be inserted. See the following thread for information on that process
Also see the following pages of Greg Maxey's website, that were referenced in the above thread, for additional information that may be of assistance to you.
Post back if you have any questions.
- AnilDoshiMar 13, 2022Copper Contributor
Doug_Robbins_Word_MVP at the outset, let me first thank you for the detailed response. Basically i'm not an expert like you all here and seeking for your guidance/assistance to create a one time doc keeping it as simple as possible and ignore all the repeated areas in the document. I prefer to avoid Mail merger or VBA.
Any other alternate available?- Mar 13, 2022See the following pages of Greg Maxey's website to which references were also make in the thread for which I provided the URL
https://gregmaxey.com/word_tip_pages/content_controls.html
https://gregmaxey.com/word_tip_pages/repeating_data.html