![]() |
#2
|
||||
|
||||
![]()
Personally, I'd have the INCLUDETEXT fields in the document already, and use a DOCPROPERTY field to return a value from a custom document property to determine the output. If the source documents have two bookmarked ranges - one containing the TRUE content and the other containing the FALSE content - all that is needed is to toggle the bookmark reference. For example:
{INCLUDETEXT "C:\\Users\\Genius\\Desktop\\Text1.docx" "{DOCPROPERTY BkMk}"} Alternatively, if you want two separate documents, use the DOCPROPERTY field to toggle the 1/2 in the document names. For example: {INCLUDETEXT "C:\\Users\\Genius\\Desktop\\Text{DOCPROPERTY DocID}.docx"} Either way, you don't need to rely on updating bookmarked ranges in your form document.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
mortcr | Word VBA | 1 | 10-22-2013 02:02 PM |
![]() |
DBrooks | Word | 1 | 02-16-2013 01:32 PM |
![]() |
David C | Word | 1 | 10-24-2012 04:53 AM |
![]() |
kellyjb27 | Word | 1 | 05-26-2012 11:08 AM |
![]() |
LAssist2011 | Word | 5 | 12-14-2011 03:02 PM |