View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
T-容x[_6_] T-容x[_6_] is offline
external usenet poster
 
Posts: 1
Default Opening a PDF file


Hi! Maybe this can help...

Function OpenPDFFile(PDFFile As String) As Double
OpenPDFFile = Shell("C:\Program Files\Adobe\Acroba
6.0\Reader\AcroRd32.exe " & PDFFile, vbNormalFocus)
End Function

You should change "C:\Program Files\Adobe\Acroba
6.0\Reader\AcroRd32.exe " to your appropriate adobe install path. *Min
the SPACE after the application name (AcroRd32.exe<SPACE_HERE).*

;)

Andrew Wrote:
Hi,

Can someone please assist with a way of opening an Adobe Acrobat Reade
PDF
file. If Adobe isn't open do I need to I need to 'shell' to it first?
--
Andre


--
T-容
-----------------------------------------------------------------------
T-容x's Profile: http://www.excelforum.com/member.php...fo&userid=2657
View this thread: http://www.excelforum.com/showthread.php?threadid=39881