Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Open a PDF document

Hi,

How do I open a PDF file (in acrobat) from excel in VB?

Thx.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Open a PDF document

Sub Tester2a()
Shell "C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe" & _
" c:\toc1\amcr37-4.pdf", 1
End Sub

or if you have .pdf associated with acrobat reader:

Private Sub Tester2b()
Shell "Start.exe ""D:\My Documents\sm569_Jan2001\tute6.pdf"""
End Sub

are possibilities.

--
Regards,
Tom Ogilvy

"Naomi" wrote in message
...
Hi,

How do I open a PDF file (in acrobat) from excel in VB?

Thx.



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
document in xls and cannot open without a password. How to open? liha Excel Discussion (Misc queries) 2 February 11th 10 07:02 PM
I forgot my password to open an excel document, how do I open it? chris ohearn Excel Discussion (Misc queries) 1 August 11th 08 02:32 PM
my excel document won't open unless i go file, then open EB500 Excel Discussion (Misc queries) 1 June 3rd 05 06:42 PM
why must I open an Excel document twice to get it to open after . NottaBoy Excel Discussion (Misc queries) 1 May 17th 05 09:22 AM
When I open excel document it always ask if I want to open it in . dperkins Excel Discussion (Misc queries) 0 February 15th 05 08:11 PM


All times are GMT +1. The time now is 08:15 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"