Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-07-2015, 04:57 PM
macropod's Avatar
macropod macropod is offline Generating Multiple Word Docs from Master Depending on Conditions Windows 7 64bit Generating Multiple Word Docs from Master Depending on Conditions Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Instead of using what you're calling a 'Master word document', you should be using a Word template. Templates are used for creating documents. As for the variable text, you could add a custom document property, like 'AccountName' to the template and, when you create a new document from it, simply add the relevant details to that property. Then, in the document itself, you could use field coding to conditionally show/hide the related content. Such fields might be coded as:
{IF{DOCPROPERTY AccountName}= "Company A" "Conditional content for Company A"}

Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practical to add them via any of the standard Word dialogues.

Alternatively, if whatever you're producing relates to an Excel workbook or a DATABASE that can supply the company data, you might use a mailmerge.

Without knowing more about your specific requirements, it's difficult to give tailored advice.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating Multiple Word Docs from Master Depending on Conditions from text to table, with conditions depending on format Marco Word VBA 2 10-29-2015 06:40 PM
Generating Multiple Word Docs from Master Depending on Conditions Use multiple style sets in the same Word document (depending on which section the style is in) Ricyteach Word VBA 6 03-09-2015 07:11 PM
Add watermark to multiple word docs mykeee Word 1 09-21-2013 04:01 PM
Generating Multiple Word Docs from Master Depending on Conditions How do you update your source docs from a master document? Joyce Word 3 07-12-2013 08:54 AM
Amend footer in multiple word docs? compact Word 2 02-24-2009 09:40 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft