#1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default 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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ON OPEN VBA Code input incorrectly now excel sheet wont open mmartin New Users to Excel 1 February 16th 11 11:33 PM
Open Dialog Box to return Selected File Path and Not Open it. DMS Excel Programming 4 January 26th 10 12:46 PM
Opening Excel, Book1 opens, remains open with other workbook open DanieB Excel Discussion (Misc queries) 0 September 3rd 09 08:23 AM
excel 2003 saved file will not open without a blank workbook open Bob Excel Discussion (Misc queries) 4 November 11th 06 04:24 PM
Search open sheets in workbook and insert into open sheet punx77 Excel Discussion (Misc queries) 0 March 6th 06 05:07 PM


All times are GMT +1. The time now is 04:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"