If there are only the three relevant values, then in the merge document itself include the following field construction:
{ IF { MERGEFIELD "Schedule 2014" } ="40" "{ INCLUDETEXT "C:\\Path\\Fullpage.docx" }" }{ IF { MERGEFIELD "Schedule 2014" } ="30" "{ INCLUDETEXT "C:\\Path\\Halfpage.docx" }" }{ IF { MERGEFIELD "Schedule 2014" } ="20" "{ INCLUDETEXT "C:\\Path\\Quarterpage.docx" }" }
Each bracket pair is inserted with CTRL+F9. Change the names and paths of the three documents, as appropriate, to insert the text they contain.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|