Normal Topic printing images in Word documents (Read 548 times)
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
printing images in Word documents
Sep 22nd, 2010 at 7:52pm
Print Post Print Post  
I have images in my file that I want to add to Word merge documents.  Is there any way to print them as a Word merge document?  Any other way to print them?
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: printing images in Word documents
Reply #1 - Sep 22nd, 2010 at 8:06pm
Print Post Print Post  
NHUser wrote on Sep 22nd, 2010 at 7:52pm:
I have images in my file that I want to add to Word merge documents.  Is there any way to print them as a Word merge document?  Any other way to print them?


Try an INCLUDEPICTURE field. Here's a tutorial. Note the instruction that a bug in Word will prevent this from working if you save as docx instead of doc.
  

- 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: printing images in Word documents
Reply #2 - Sep 23rd, 2010 at 3:50pm
Print Post Print Post  
I tried your suggestion but I can't get it to work!  I get the first picture I try to print and then the picture never changes!!  Any other ideas?
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: printing images in Word documents
Reply #3 - Sep 23rd, 2010 at 5:28pm
Print Post Print Post  
You'll probably need to put some VBA in the document that runs after the merge executes and forces an update on all the fields. INCLUDETEXT and INCLUDEPICTURE fields are not good about auto-refreshing. Something like:

Code
Select All
Sub UpdateFields()
Dim oFld As Field
For Each oFld In ActiveDocument.Fields
    oFld.Update
    oFld.Unlink
Next
End Sub 



Or, you can refresh manually with Ctrl-A, then F9.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged