Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-27-2025, 10:52 PM
simotomaton simotomaton is offline mergefield within includepicture Windows 10 mergefield within includepicture Office 97-2003
Novice
mergefield within includepicture
 
Join Date: Feb 2025
Location: Australia
Posts: 3
simotomaton is on a distinguished road
Question mergefield within includepicture

I have been pulling my hair out trying to get a dynamic image to work in my merge. I've looked at numerous online 'answers' but have not had any actually work. This is my current code based on macropod's super helpful posts.



Quote:
{ IF { INCLUDEPICTURE { IF TRUE "\\\\server\\images\\{ MERGEFIELD Area_Code}.emf" } \d} {INCLUDEPICTURE { IF TRUE ""\\\\server\\images\\{ MERGEFIELD Area_Code }.emf" } \d} }
But I'm still getting "Error! Unknown op code for conditional." when I run my merge.
It has been tricky to test, as my merge is run by an application I use at work which generates the merge data on the fly, then sends the result to a printer (or pdf).

My image source is a network address. I don't have access to the local drives the software that is running the merge is on. I have tested that it has access to the network location using a direct link (ie no mergefield in the filename).

All my {} are created with Ctrl+F9.

Any help would be amazing, otherwise I'll be back to using 44 different merge templates, one for each area
Reply With Quote
 

Tags
mail-merge, ms-word



Similar Threads
Thread Thread Starter Forum Replies Last Post
mergefield within includepicture Includepicture Formd Mail Merge 4 01-17-2025 08:43 AM
Inserting a table as a mergefield, similar to INCLUDEPICTURE beldel Mail Merge 0 11-11-2021 01:45 PM
mergefield within includepicture IncludePicture with Mergefield paluccie Mail Merge 3 03-13-2021 06:34 AM
InCludePicture are strecthed VEA Word 3 06-20-2016 03:10 AM
mergefield within includepicture Printing selected pages based on a MERGEFIELD.g. If MERGEFIELD=x then print pages 1,2,4 if MERGEFIEL Richard.p Word 3 04-21-2015 01:14 AM

Other Forums: Access Forums

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