Home |
Search |
Today's Posts |
#1
|
|||
|
|||
How do I add a new document to an existing doc?
I have a document which is basically a one page document. I need to add
another document to the first document only if certain criteria is met (example IF MERGEFIELD = XYZ... then INCLUDETEXT c:\\add_doc_#2) IF the criteria is not met then I just need the 1st document. I've tried several things, but no matter where I put the IF MERGEFIELD statement I don't get my required results. Thanks |
#2
|
|||
|
|||
How do I add a new document to an existing doc?
You've got the basic idea down. You need nested fields, though. Create your
nested portions using the Ctrl-F9 key combination to insert your field delimiters. Do your editing with field codes displayed (Alt-F9). -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "Dave E." Dave wrote in message ... I have a document which is basically a one page document. I need to add another document to the first document only if certain criteria is met (example IF MERGEFIELD = XYZ... then INCLUDETEXT c:\\add_doc_#2) IF the criteria is not met then I just need the 1st document. I've tried several things, but no matter where I put the IF MERGEFIELD statement I don't get my required results. Thanks |
#3
|
|||
|
|||
How do I add a new document to an existing doc?
You need to get your syntax right, then, as Charles indicates, enter the
fields manually using CTRL+F9 for each pair of field brackets. {IF {Mergefield fieldname} = "XYZ" "{Includetext "c:\\path\\filename.doc"}"} -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Dave E. wrote: I have a document which is basically a one page document. I need to add another document to the first document only if certain criteria is met (example IF MERGEFIELD = XYZ... then INCLUDETEXT c:\\add_doc_#2) IF the criteria is not met then I just need the 1st document. I've tried several things, but no matter where I put the IF MERGEFIELD statement I don't get my required results. Thanks |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
columns in an existing word document? | Page Layout | |||
how to put existing A4 document into bookfold? | Page Layout | |||
How do I make a heading from an existing Word document? | Microsoft Word Help | |||
Creating a drop-down list in an existing Word document | Microsoft Word Help | |||
how to copy Word doc, including header to an existing document | Formatting Long Documents |