Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
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
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I can't "Open" a downloaded template. Only "Save" and "Cancel" | Microsoft Word Help | |||
My pictures/clips appear as "red x" when I email my ".mhtml" doc? | Microsoft Word Help | |||
What does "char" "char1" "char2" mean in styles in Word? | Microsoft Word Help | |||
How can I re-enable the "ctrl + c" keyboard "copy" shortcut? | Microsoft Word Help | |||
The "Symbol" under "Insert" disappeared and replaced by "Number" | Microsoft Word Help |