Page Index Toggle Pages: [1] 2  Send Topic Send Topic Print Print
Hot Topic (More than 10 Replies) IncludePicture (Read 5339 times)
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
IncludePicture
Mar 26th, 2012 at 7:47pm
Print Post Print Post  
My company uses Sesame to print Work Instructions via a Word mail merge document.  I've been doing this for many years. 

I now want the mail merge document to print a .jpg image as part of the document.  I've found the command IncludePicture on the web.  This seems to work OK the first time.  After that the same picture shows up time and again.

I've followed the directions on the web precisely and I still have this problem.

Has anyone done this using Sesame?



  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: IncludePicture
Reply #1 - Mar 27th, 2012 at 1:13pm
Print Post Print Post  
If you actually do the merge, does the correct picture show up?
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: IncludePicture
Reply #2 - Mar 27th, 2012 at 3:27pm
Print Post Print Post  
The first time I do the merge, the correct picture is displayed.  But, once displayed the picture does not change.  No matter what image I merge into the document, it keeps displaying the first image.
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: IncludePicture
Reply #3 - Mar 27th, 2012 at 4:12pm
Print Post Print Post  
Are you using Word 2007 or 2010?

Quote:
If you're using Word 2007 or Word 2010, Save As the document in the Word 97 - 2003 (.doc) format -- NOT the Word 2007 (.docx) format. IncludePicture does not work in .docx documents due to a bug in Word. Don't bother reporting the bug to Microsoft; they've known about it for a long time.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: IncludePicture
Reply #4 - Mar 27th, 2012 at 7:12pm
Print Post Print Post  
I'm using the .doc type file.  I saw the same quote on the net.
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: IncludePicture
Reply #5 - Mar 27th, 2012 at 7:28pm
Print Post Print Post  
I have found the INCLUDE commands like INCLUDETEXT need to be refreshed manually or in VBA to force an update.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: IncludePicture
Reply #6 - Mar 27th, 2012 at 9:05pm
Print Post Print Post  
I don't know how to force an update.  Is that something you could explain to me?  Could it be part of a macro?
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: IncludePicture
Reply #7 - Mar 28th, 2012 at 2:10pm
Print Post Print Post  
Try selecting the field and pressing F9 to update it. If that works, I can give you code.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: IncludePicture
Reply #8 - Mar 28th, 2012 at 6:15pm
Print Post Print Post  
I've tried to update with F9, but nothing is happening.
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: IncludePicture
Reply #9 - Mar 28th, 2012 at 9:55pm
Print Post Print Post  
Angry Give to me this uncooperative document, that I may tell it about itself.
« Last Edit: Mar 29th, 2012 at 2:39pm by Hammer »  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: IncludePicture
Reply #10 - Mar 29th, 2012 at 2:58pm
Print Post Print Post  
Here it is.  I hope it behaves itself!
  
Back to top
 
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: IncludePicture
Reply #11 - Apr 5th, 2012 at 6:54pm
Print Post Print Post  
Hey, Hammer

Any luck with this issue?
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: IncludePicture
Reply #12 - Apr 6th, 2012 at 4:10pm
Print Post Print Post  
NHUser wrote on Mar 26th, 2012 at 7:47pm:
I've followed the directions on the web precisely and I still have this problem.


No, you didn't.  Smiley

You deleted part of the merge code at the end. Do it again. Your final result should look like this, but with your path and mergefield name.
{ INCLUDEPICTURE "C:\\Documents and Settings\\Hammer\\My Documents\\My Pictures\\{ MERGEFIELD Picture } " \* MERGEFORMAT \d }
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: IncludePicture
Reply #13 - Apr 9th, 2012 at 2:34pm
Print Post Print Post  
Something screwy is going on.... 

I will post four images that show:

1 - my doc with the command line.
2 - the Sesame file with the pic I'm trying to print.
3 - what gets printed before and after I send the command to print the document. Note that the document body is changing from DC-3090AA to DC-3090AE and yet the picture remains the same!!

Not sure what the heck is going on, but I don't know what to do!!
  

Sesame_-_My_doc.jpg ( 201 KB | 61 Downloads )
Sesame_-_My_doc.jpg
Back to top
 
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: IncludePicture
Reply #14 - Apr 9th, 2012 at 2:35pm
Print Post Print Post  
File photo
  

Sesame_-_my_doc_-_file.jpg ( 228 KB | 53 Downloads )
Sesame_-_my_doc_-_file.jpg
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send Topic Send Topic Print Print