Yes, this can certainly be done. A couple of key questions:
1) What version of Word are you using?
2) Do you have anything against downloading a free piece of software to use?
Reasons I ask...
1) If you are using Word 2007 or 2010, you can automate the process using default Microsoft libraries without resorting to third party software.
2) Regardless of the version, you can download PDFCreator (from Sourceforge) which has an exposed PDF creation API.
I have an example of using Word to print all open documents to a PDF using PDFCreator on my site (
Hi Mintjulep,
You are correct - no need to write any code at all.
You can use Windows explorer, however you have to confirm a PDF-file name everytime.
In my case, I have hundreds of files, so I have to spend the whole day just clicking to confirm each file conversion.
If you had started on the 19th when you first asked the question then you would be finished with your task.
Now you have not finished, in fact not even started, and you still have to spend a considerable amount of time developing and debugging code.
Yes, you can access the Acrobat API via VBA, but I think you need the Acrobat SDK to do so, which would probably not work for you with your restriction on downloading.
So you will have to use VBA to "print" to the PDF printer. Unfortunately this will still present you with a dialog for file names.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.