Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-09-2015, 03:23 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

The number of conditional paragraphs, etc. is irrelevant. A single custom document property, like 'AccountName', can be used to vary the content in multiple locations. you can have as many fields coded along the lines of:
{IF{DOCPROPERTY AccountName}= "Company A" "Conditional content for Company A"}
as you want. Such fields can contain multiple paragraphs, tables, images, etc.



Thus, the first such field for Company A might contain:
{IF{DOCPROPERTY AccountName}= "Company A" "First conditional content for Company A"}

the second one:
{IF{DOCPROPERTY AccountName}= "Company A" "Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna."}

the third one:
{IF{DOCPROPERTY AccountName}= "Company A" "Nunc viverra imperdiet enim. Fusce est. Vivamus a tellus.

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin pharetra nonummy pede. Mauris et orci."}

and so on.

If more than one of the existing documents are always produced for a given account name (or account type), those documents could be combined into one, so that all of them are produced in one go. You'd then only need to print the relevant Section(s) at any given time.

Unless you can be clearer about your requirements, one can only speak in general terms. That said, for an idea of how much can be automated, take a look at:
https://www.msofficeforums.com/word-...drop-down.html
https://www.msofficeforums.com/word-...own-lists.html
http://answers.microsoft.com/en-us/o...2-9ae21837494a
https://www.msofficeforums.com/word-...html#post85712
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



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:37 AM.


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