Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-19-2016, 06:04 PM
macropod's Avatar
macropod macropod is offline Mailmerge - when some records have photos, and some without Windows 7 64bit Mailmerge - when some records have photos, and some without Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,366
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You would need to use a field coded along the lines of:


{IF{MERGEFIELD "Image_URL"}<> "" {INCLUDEPICTURE {IF TRUE "{MERGEFIELD "Image_URL"}"} \d}}

Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac or, if you’re using a laptop, you might need to use Ctrl-Fn-F9); you can't simply type them or copy & paste them from this message. Nor is it practical to add them via any of the standard Word dialogues. The spaces represented in the field constructions are all required.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 05-20-2016, 06:16 AM
smitty777 smitty777 is offline Mailmerge - when some records have photos, and some without Windows 7 32bit Mailmerge - when some records have photos, and some without Office 2007
Novice
Mailmerge - when some records have photos, and some without
 
Join Date: May 2016
Posts: 2
smitty777 is on a distinguished road
Default

Thank you for your reply Paul.

I've typed in

{ IF{ MERGEFIELD "Image_URL" }<> "" { INCLUDEPICTURE { IF TRUE "{ MERGEFIELD "Image_URL" }" }\d } }

ran mail merge, CTRL+A, F9, and I get no pictures and no error message.

Is there anything special about the "<>"? Or do I just type those in from the keyboard?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailmerge - when some records have photos, and some without Missing records after word mailmerge matthewchin Mail Merge 18 12-11-2015 12:06 AM
Mailmerge - when some records have photos, and some without Trouble doing a Mailmerge in Word 2010 with multiple records for the same client Merlot Mail Merge 2 12-07-2015 10:13 AM
Mailmerge - when some records have photos, and some without Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 8 02-11-2013 04:40 AM
Mailmerge - when some records have photos, and some without Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 13 05-29-2012 02:04 PM
Inserting photos casatropical Word 1 01-18-2012 10:30 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:09 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