Hello
I am trying to insert an image while running mailmerge using the code below. The image inserts with no problem however I need help in eliminating the error and image box if there is no image found in the Path used. In my code below i removed the /d because I need the image placed in the document but not linked to the path because the file is forwarded to clients that do not have access to the path.
I am using the following:
HTML Code:
{If{INCLUDEPICTURE {IF TRUE “C:\\folder\\folder2\\{ClientN}_cdes.png”}}{INCLUDEPICTURE{IF TRUE “C:\\folder\\folder2\\{ClientN}_cdes.png”} }}
ClientN is the mergefield that changes for each file
An example of the file name is BAC-9842_cdes.png. BAC-9842 changes for each file.
Thanks
Appreciate your help.