Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It doesn't seem to work, do you have any alternatives
-----Original Message----- Use the Shell command Shell "C:\files\myfile.pdf" assumes pdf is associated with a reader application that can open PDF files. -- Regards, Tom Ogilvy "Klaus" wrote in message ... How do I open a pdf document from visual Basic in excel . .. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 " wrote in message ... It doesn't seem to work, do you have any alternatives -----Original Message----- Use the Shell command Shell "C:\files\myfile.pdf" assumes pdf is associated with a reader application that can open PDF files. -- Regards, Tom Ogilvy "Klaus" wrote in message ... How do I open a pdf document from visual Basic in excel . . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Opening Visual Basic Editor | Excel Discussion (Misc queries) | |||
On opening program get MS Visual Basic error | Excel Discussion (Misc queries) | |||
Visual Basic Error when opening Excel | Excel Discussion (Misc queries) | |||
Visual Basic I/O error when opening Excel file | Excel Worksheet Functions | |||
Opening a PDF document from Visual basic | Excel Programming |