ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   MERGEFORMAT (https://www.excelbanter.com/excel-discussion-misc-queries/113661-mergeformat.html)

[email protected]

MERGEFORMAT
 
Hi all,

Is there an easy way to add this code to a word doc, I am having to
type similar code manually everytime a new code has been created. I
can't copy and paste as I have to press CTRL + F9 for "{}"

{IF {MERGEFIELD"REG_CODE"}="LAB"{INCLUDETEXT "C:\\DB\\LAB.doc" \*
MERGEFORMAT}""\MERGEFORMAT}

Thanks for you help.
A.



All times are GMT +1. The time now is 08:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com