View Single Post
 
Old 02-18-2015, 11:05 PM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,137
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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
Reply With Quote