Copy link to clipboard
Copied
I tried to accomplish this using the Open method on the AcroExch.AVDoc object and that did not work. I appreciate any suggestions you may have.
Thanks,
Seenu
Acrobat does not support native conversion of Visio
Copy link to clipboard
Copied
Can you open a Visio document in Acrobat Directly? In order for Acrobat to open a non-PDF file, it has to have a conversion for it. If the conversion exists on you system, then you can potentially use it from a script to open the file.
Copy link to clipboard
Copied
Thom,
Thank you for your response. I cannot open the Visio file in Acrobat directly either. Do I need to have some plug-in for the conversion to happen? I have Adobe Acrobat version XI installed.
Thanks,
Seenu
Copy link to clipboard
Copied
Acrobat does not support native conversion of Visio
Copy link to clipboard
Copied
Ironseth,
Is the native conversion not supported only for Visio? I was able to use the same method to convert excel to PDF.
Thanks,
Seenu
Copy link to clipboard
Copied
Yes, it is supported for many of the Office apps, but not all.
Copy link to clipboard
Copied
You need to convert the Visio document to PDF from within Visio. See here for an appropriate VBA method: Document.ExportAsFixedFormat Method (Visio)
You can also (from within Visio's VBA) print to the Adobe PDF printer, and use the programatic methods to prevent the filename dialog (see here for more information about this: Prevent the Save Dialog when Printing to the Adobe PDF Printer​)
Copy link to clipboard
Copied
Karl,
Thank you for your suggestions. I am going to look into the ExportAsFixedFormat method and let you know the results.
Thanks,
Seenu