![]() |
Subject: Opening a PDF document from Visual basic
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 . .. |
Subject: Opening a PDF document from Visual basic
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 . . |
All times are GMT +1. The time now is 12:27 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com