hello
I have this code to opens specific page in specific file when write in cell A1 it gives me error the file not found I 'm sure about the file is existed in my directory
Const cAdobeReaderExe As String = "C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe"
Public Sub Open_PDF_At_Page()
Dim PDFfile As String
Dim AdobeCommand As String
PDFfile = "C:\Users\alhagag\Desktop\files\asd1.pdf"
'AdobeCommand = " /a ""page=2=Open Actions"" "
AdobeCommand = " /a ""page=" & ActiveSheet.Range("A1").Value & "=Open Actions"" "
Shell cAdobeReaderExe & AdobeCommand & Chr(34) & PDFfile & Chr(34), vbNormal
End Sub
any suggestion to solve this problem I truly appreciate
Bookmarks