RawlinsCross
Active Member
- Joined
- Sep 9, 2016
- Messages
- 437
Very small code... opens the executable program (i.e. C:\Program Files\Tracker Software\PDF Editor\PDFXEdit.exe) but not the file.
Sub RunPDFWithExe()
MyPath = "C:\Program Files\Tracker Software\PDF Editor\PDFXEdit.exe"
MyFile = "C:\Users\jhalfyard\Desktop\Daily Production Report - January 4, 2017.pdf"
Shell MyPath & " " & MyFile, vbNormalFocus
End Sub
Sub RunPDFWithExe()
MyPath = "C:\Program Files\Tracker Software\PDF Editor\PDFXEdit.exe"
MyFile = "C:\Users\jhalfyard\Desktop\Daily Production Report - January 4, 2017.pdf"
Shell MyPath & " " & MyFile, vbNormalFocus
End Sub