Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IncludePicture MailMerge won't work

Status
Not open for further replies.

markvl

Programmer
Joined
Oct 11, 2003
Messages
3
Location
NL
I'm using a MS-Access table as datasource for Word mailmerge. This works fine, i.e. it fills the fields in the template and creates a new document. Except for the picture.
I'm using a variable to pass the path of the picture to a IncludePicture statement. This path is filled in alright and the syntax of the command is looking exactly the same as one done separately and manually, and that is working fine. Like { IncludePicture "C:\\dir\\x.jpg" }.
Whatever content there is in the path-variable at the moment of creating this statement in the template, is the picture that shows up in the document later. Or none if the variable was empty. Word always says this path-variable is not filled, even though you can see the right path in the statement in the document.
Somehow it is not updating the original content of this variable, even though the variable itself is filled as it should.
How do I get it to use (the content of) this var?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top