S
Stu
Hello
I'm trying to write a macro in Word 2003 that will print individual PDF
files for each record in a mail merge, with the file name being sourced from
a field in the data source. I can capture the value OK (checked via a
temporary MsgBox) but I'm having no success in trying to pass that value to
the dialog box for the PDF printer (in the current case, Jaws PDF Creator).
The menu command installed by Jaws invokes a custom-installed macro as
Application.Run MacroName:="JawsPdfCreator.CreatePDF.CreateJawsPdfFile"
That opens the dialog box with the filename of the active document
highlighted - what I want to do is replace the highlighted value with the
filename I create from the source data field.
SendKeys doesn't work (it regards the active document as the active object,
and types it in there), and I don't know enough about the Jaws DDE stuff to
use the DDE commands.
Any help or clues would be mightily appreciated
Stu
I'm trying to write a macro in Word 2003 that will print individual PDF
files for each record in a mail merge, with the file name being sourced from
a field in the data source. I can capture the value OK (checked via a
temporary MsgBox) but I'm having no success in trying to pass that value to
the dialog box for the PDF printer (in the current case, Jaws PDF Creator).
The menu command installed by Jaws invokes a custom-installed macro as
Application.Run MacroName:="JawsPdfCreator.CreatePDF.CreateJawsPdfFile"
That opens the dialog box with the filename of the active document
highlighted - what I want to do is replace the highlighted value with the
filename I create from the source data field.
SendKeys doesn't work (it regards the active document as the active object,
and types it in there), and I don't know enough about the Jaws DDE stuff to
use the DDE commands.
Any help or clues would be mightily appreciated
Stu