Convert word to PDF and then mail it

I am trying to use Lotusscript to convert an MS Word file to PDF which would then be emailed through Notes client. I have adobe acrobat on the machine and I am familiar in controlling MS Word (2003). How do I call acrobat to pick up the file and run the conversion? The OS is Windows XP.

Any hints will be appreciated/

Regards

Subject: Convert word to PDF and then mail it

I believe you just need to print to the Adobbe PDF. This is how I have done it in Excel.

Sheets(asSheetsToPrint(i, 1)).PrintOut Copies:=asSheetsToPrint(i, 3), ActivePrinter:=asSheetsToPrint(i, 2)

Active Printer would be the name of your Adobe printer. Typically this is either “Acrobat Distiller” (older versions) or “Adobe PDF” (newer versions).

With the older versions it will cause it to print to the default directory and you can then copy it.

The newer versions that use “Adobe PDF” prompt you for a filename and location. I do not know anyway around that. Probably some digging into the Adove reference might help.