View Single Post
 
Old 12-09-2015, 03:23 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit 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