Create VBA/Macro Code to Convert MS Word to PDF

L

leelomei

Hi All,

I have many word files (around 200) and would like to convert them
into pdf format (I have Adobe pdf convertor).

I would like to create a VBA/macro in Word to do so.

I want the VBA code to do the followings:

1. I would like to put a name (e.g. "John Dude") in the first line of
the first page of each word file
2. Convert the word files into pdf format
3. Set the same password to open the pdf for all files (and the other
password to change the security)
4. Save the pdf file as the same name as the word file.

Would you please tell me how to do that? Thank you very much for your
help in advance. It is greatly appreciated!

Should you want me to clarify any unknowns, please post your questions
here. Thanks!

Best wishes,

Lee
 
D

Doug Robbins - Word MVP on news.microsoft.com

Your identical post in the microsoft.public.word.programming newsgroup has
been answered. Please do not post the same question separately to multiple
newsgroups.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 

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