Has anyone written code to convert an existing MS Word document to an Adobe PDF file?

Any assistance would be appreciated.

Thanks.