Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Pateril Pateril is offline
external usenet poster
 
Posts: 1
Default Avoid using "Ctrl+A" and "F9" to refresh Pictures before printing?

I have written a program which exports merge fields to a master Word
Document (Office 2003 SP3). It can either merge to a master document
for further manual work by the user, or print directly to printer.

The snag is that this document includes an 'INCLUDEPICTURE' merge
field, to which I pass a path and file (variable) name to this which
is different for each record. I want to be able to send the results
direct to the printer, showing a different photo on each document,
however the only way I can do this successfully at present is to a)
merge to the master Document, b) Merge to a New Document, c) Press Ctrl
+A then F9 and finally, d) Print.

Merging straight to the Printer does not update the PIcture Fields,
although all the other fields (eg Name and addresses) are updated, so
the required picture is blank every time.

What I would like to do would be to somehow build in some code that
automatically does the Ctrl+A and F9 for me so that there is no need
for this manual intervention.

Any ideas how this could be done would be greatly appreciated!

Ian
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Avoid using "Ctrl+A" and "F9" to refresh Pictures before printing?

Hi Pateril,

If you add a line like:
ActiveDocument.Fields.Update
to your codeprior to the printout line, the links should update.

--
Cheers
macropod
[MVP - Microsoft Word]


"Pateril" wrote in message
...
I have written a program which exports merge fields to a master Word
Document (Office 2003 SP3). It can either merge to a master document
for further manual work by the user, or print directly to printer.

The snag is that this document includes an 'INCLUDEPICTURE' merge
field, to which I pass a path and file (variable) name to this which
is different for each record. I want to be able to send the results
direct to the printer, showing a different photo on each document,
however the only way I can do this successfully at present is to a)
merge to the master Document, b) Merge to a New Document, c) Press Ctrl
+A then F9 and finally, d) Print.

Merging straight to the Printer does not update the PIcture Fields,
although all the other fields (eg Name and addresses) are updated, so
the required picture is blank every time.

What I would like to do would be to somehow build in some code that
automatically does the Ctrl+A and F9 for me so that there is no need
for this manual intervention.

Any ideas how this could be done would be greatly appreciated!

Ian


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't "Open" a downloaded template. Only "Save" and "Cancel" Dave Microsoft Word Help 1 April 4th 08 02:28 PM
My pictures/clips appear as "red x" when I email my ".mhtml" doc? CW2007 Microsoft Word Help 0 October 4th 07 05:44 PM
What does "char" "char1" "char2" mean in styles in Word? Li Microsoft Word Help 2 September 5th 07 03:22 PM
How can I re-enable the "ctrl + c" keyboard "copy" shortcut? Pam Microsoft Word Help 2 November 22nd 06 03:17 PM
The "Symbol" under "Insert" disappeared and replaced by "Number" Eling Microsoft Word Help 3 September 13th 06 03:29 PM


All times are GMT +1. The time now is 08:27 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"