Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-14-2025, 03:38 PM
Formd Formd is offline Includepicture Windows 7 32bit Includepicture Office 2007
Advanced Beginner
Includepicture
 
Join Date: Feb 2015
Location: TX
Posts: 49
Formd is on a distinguished road
Default Includepicture

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Includepicture If...Then...Else with text included and INCLUDEPICTURE TCHook Mail Merge 3 01-25-2024 05:14 AM
Includepicture IncludePicture with Mergefield paluccie Mail Merge 3 03-13-2021 06:34 AM
Includepicture IncludePicture does not refresh the pictures ragesz Mail Merge 5 10-23-2020 03:41 AM
InCludePicture are strecthed VEA Word 3 06-20-2016 03:10 AM
Includepicture IncludePicture does not work in Mailmerge malalex Mail Merge 4 12-10-2013 07:09 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:46 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft