Word- create PDF file in VBA with XCHANGE

This Forum is for the use of End Users requiring help and assistance for Tracker Software's OFFice2PDF and MS Office Addin Applications - supplied with PDF-XChange.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan

Post Reply
Posts: 1
Joined: Sun Nov 27, 2011 11:15 am

Word- create PDF file in VBA with XCHANGE

Post by vnbpub » Sun Nov 27, 2011 4:14 pm

Config: WINDOWS XP- MS Office 2003 - XChange

I need to create the PDF file of the Word document in a VBA macro.
Trying with the printer Xchange, the result is not the rigth one (only code, see attached file)
I don't find any tutorial or website that can explain how to manage Xchange from vba program.
I wisch not complicate things, only create pdf with the standard option.
I try to capte the command of icon [Convert document to PDF] without any succes.

Have you any suggestion?
(160.14 KiB) Downloaded 363 times

User avatar
Chris - Tracker Supp
Site Admin
Posts: 800
Joined: Tue Apr 14, 2009 11:33 pm

Re: Word- create PDF file in VBA with XCHANGE

Post by Chris - Tracker Supp » Sun Nov 27, 2011 5:16 pm

Hi vnbpub,

You cannot capture the enduser product office addin convert to pdf button using vba macro. Your VBA Macro could send the word document to the PDF-XChange Printer in the printers list like you would a standard paper printer and convert to PDF using this method, but anything you are trying to do that is more complex than that, would require the at least the Drivers API SDK to convert programmatically.

If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Chris Attrell
Tracker Sales & Support North America

Post Reply