ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Open PDF (https://www.excelbanter.com/excel-programming/319479-open-pdf.html)

No Name

Open PDF
 
How do I open a PDF file using an Excel macro? I created
a "Reference" to Adobe Acrobat 5.0 Type Library, but I am
not sure how to use the "Open" method.
Thanks.

Bob Phillips[_6_]

Open PDF
 
I think you need to Shell it

TaskID = Shell("C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe
Readme.pdf", 1)

--

HTH

RP
(remove nothere from the email address if mailing direct)


wrote in message
...
How do I open a PDF file using an Excel macro? I created
a "Reference" to Adobe Acrobat 5.0 Type Library, but I am
not sure how to use the "Open" method.
Thanks.





All times are GMT +1. The time now is 12:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com