Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2015, 10:12 AM
Kavo Kavo is offline Conditional Image insertion based on Merge Data Windows 8 Conditional Image insertion based on Merge Data Office 2013
Novice
Conditional Image insertion based on Merge Data
 
Join Date: Feb 2015
Posts: 7
Kavo is on a distinguished road
Default Conditional Image insertion based on Merge Data

Hello, all. I am trying to insert a logo into a mail merge document based on the list ID that the data originated from.

Specifically, I have 3 data sources that were combined into one and once that list is processed and returned with data from all 3 lists, the list id tells me which list the data came from, and therefore, which logo should be inserted in the merged document.

The original CSV file does not contain the logo or image link. These are being stored on the PC and I want to pull them in based on the list ID in the CSV file.

For this action, I am using

{INCLUDEPICTURE "{IF TRUE "C:\\Users\\kara\\Documents\\My Circulation\\Renewals\\{Mergefield LIST_ID}.png"}" \d }



Where the images are named according to the list id, ie. 1882.png.

When I go to preview my results, an image placeholder appears and tell me that it cannot find the file. What am I doing wrong? THANK YOU!
Reply With Quote
  #2  
Old 02-26-2015, 02:42 AM
gmayor's Avatar
gmayor gmayor is offline Conditional Image insertion based on Merge Data Windows 7 64bit Conditional Image insertion based on Merge Data Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,142
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

You need to complete the merge to a new document, and not rely on the preview. Mail merge of graphics is complicated - see http://www.gmayor.com/mail_merge_graphics.htm and http://www.gmayor.com/mail_merge_graphics_addin.htm
__________________
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
  #3  
Old 02-26-2015, 08:39 AM
Kavo Kavo is offline Conditional Image insertion based on Merge Data Windows 8 Conditional Image insertion based on Merge Data Office 2013
Novice
Conditional Image insertion based on Merge Data
 
Join Date: Feb 2015
Posts: 7
Kavo is on a distinguished road
Default

Thank you! Worked like a charm!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Image insertion based on Merge Data Conditional Formatting based on dynamic Date Modifier1000 Excel 2 09-12-2014 08:53 AM
Conditional Formatting based on Value of Another Cell SteveBump Excel 3 03-07-2014 09:16 AM
Conditional Image insertion based on Merge Data Conditional formatting question based on cell date Cosmo Excel 2 04-08-2013 12:12 PM
Conditional Image insertion based on Merge Data Conditional Formatting and/or Macro for Character Insertion? MonOverArchIng Word 2 01-11-2013 02:48 AM
Conditional Image insertion based on Merge Data Conditional color fill based on presence of data avanderh Excel 11 07-28-2011 09:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:32 PM.


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