Open Acrobat from Excel 95
Posted by George Crowley on November 09, 2000 9:00 AM
I am creating a PDF output file from Excel. I want to add a macro to fire off Acrobat and display the file so the user can validate the output. I tried this:
Sub Verify_PDF()
Dim x As Application
x = Shell("C:\Program Files\Adobe\Acrobat 4.0\Acrobat\Acrobat.exe", 1)
With x
.Open ("C:\myPDF.df")
End With
Set x = Nothing
End Sub
but keep getting a Object variable not Set (Error 91) error. Any Hint's