Yes it's possible, provided you have the application to do it (such as
Acrobat or one of the clones).
The method (for Acrobat) depends on which version you have. The actual
conversion is simple. (Set Acrobat as the active printer, then print the
document.) The hard part is preventing Acrobat prompting for the filename.
Some versions of Acrobat use a registry entry: set that to the filename and
you're done. Or you tweak the Acrobat printer settings so it doesn't ask;
the PDF then ends up in the same folder as the Word document, same name but
with PDF extension.
> Is it possible to convert a rtf or word document to a pdf file? If yes,
> can
> someone help me how to do that using MS word VBA.
> Thanks
Ram - 10 Feb 2006 15:04 GMT
Hi,
Thank you that I can print a rtf or word doc to pdf. But can some tell me
how to do that (basic vba command). And also when I print the rtf or word
file to pdf destination, I would like to print it to a different folder.
> Yes it's possible, provided you have the application to do it (such as
> Acrobat or one of the clones).
[quoted text clipped - 11 lines]
> > someone help me how to do that using MS word VBA.
> > Thanks
Dawn Crosier - 03 Mar 2006 18:42 GMT
Once Acrobat is started, which occurs after the print button is
activated, either through code or through the manual steps, you have
to code using Acrobat itself. Therefore, you are going to need to get
the remainder of your code from Adobe. I have yet to see the ability
to control Acrobat via Word or any office application.
Sorry.

Signature
Dawn Crosier
Microsoft MVP
"Education Lasts a Lifetime"
This message is posted to a newsgroup. Please post replies and
questions to the newsgroup so that others can learn as well.
> Hi,
> Thank you that I can print a rtf or word doc to pdf. But can some
[quoted text clipped - 27 lines]
>> > someone help me how to do that using MS word VBA.
>> > Thanks