Macro to convert a Word Document to PDF

J

Joanne

Could anyone point me in the right direction for the above? We are using
Adobe Standard 7.08 and Word 2003. Thanks very much.
 
S

Steve Rindsberg

Could anyone point me in the right direction for the above? We are using
Adobe Standard 7.08 and Word 2003. Thanks very much.

Can't help much with Word stuff, being more of a PPT type myself, but before
anyone can help, you'll need to be more specific about what you're after, I
expect.

Are you looking for code you can incorporate into your own routines or
something else?
 
J

Joanne

Hello,
The macro I've been asked to write is the following:
The user is in Word and wants to add a graphic of their signature, probably
a TIF file. The macro will prompt them to position the cursor where they want
the signature.
After the signature is inserted, the macro will save the document as a PDF.
Althought we already have an option on the "File" menu to "Save as PDF", I
wanted to put a second option which would "Save as PDF," and then delete the
signature from the Word document. I know how to do most of this, but what I
don't know how to do is call the dll or whatever Adobe has, which actually
takes a Word document and converts it to PDF - the distiller I guess.

I hope this is clearer now. Thanks.
 
S

Steve Rindsberg

Hello,
The macro I've been asked to write is the following:
The user is in Word and wants to add a graphic of their signature, probably
a TIF file. The macro will prompt them to position the cursor where they want
the signature.
After the signature is inserted, the macro will save the document as a PDF.
Althought we already have an option on the "File" menu to "Save as PDF", I
wanted to put a second option which would "Save as PDF," and then delete the
signature from the Word document. I know how to do most of this, but what I
don't know how to do is call the dll or whatever Adobe has, which actually
takes a Word document and converts it to PDF - the distiller I guess.

I hope this is clearer now. Thanks.

If you want to let the user choose the name/location of the PDF, you can probably
get most/all of the code you need by:

Start the macro recorder
Choose File, Print from the main menu
Choose Adobe PDF as the printer driver

Let it print to a PDF, stop the macro recorder, clean up the unnecessary bits and
use the rest in your macro.
 

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