Word VBA to PDF... some questions

M

Mike Starr

Cross posted... (e-mail address removed) and

I've made a template for a client and one of the requirements is that the
user be able to click a button and automatically create four different PDF
versions of the document (one version each with a different one of three
logos and a fourth version with no logo). I've got the macro working fine
printing to the Acrobat Distiller printer driver but haven't figured out:

1. how to preset the PDF file save path (I want it to automatically save the
PDF files in c:\<client name>\Marketing sheets) and

2. how to get VBA to automatically "click" the Save button in the PDF save
dialog box.

3. keep Acrobat from popping up its own window and covering up the Word
window with the second, third and fourth Save dialog boxes.

Am I going to need to create a custom Acrobat Job Options file to deal with
these things??

Any pointers??

Thanks much.

Mike Starr
 
M

Michael Bednarek

Cross posted... (e-mail address removed) and

I've made a template for a client and one of the requirements is that the
user be able to click a button and automatically create four different PDF
versions of the document (one version each with a different one of three
logos and a fourth version with no logo). I've got the macro working fine
printing to the Acrobat Distiller printer driver but haven't figured out:

1. how to preset the PDF file save path (I want it to automatically save the
PDF files in c:\<client name>\Marketing sheets) and

2. how to get VBA to automatically "click" the Save button in the PDF save
dialog box.

3. keep Acrobat from popping up its own window and covering up the Word
window with the second, third and fourth Save dialog boxes.

Am I going to need to create a custom Acrobat Job Options file to deal with
these things??

Any pointers??

Use the Acrobat PdfDistiller object instead. I've poste some code
fragments in earlier threads:
<http://groups.google.fi/[email protected]>
<http://groups.google.fi/[email protected]>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top