erutherford
Active Member
- Joined
- Dec 19, 2016
- Messages
- 453
Search for an hour. I didn't think it would be that hard but guess what! The last line is the problem or at least I think it is.
VBA Code:
Private Sub CommandButton9_Click() 'Print "Read me first pdf"
Dim sFile As String
Open_file = Application.GetOpenFilename(Title:="Browse & Select File", FileFilter:="All PDF Files (*.pdf*), *.pdf*")
PDF.Open sFile, vbNormalFocus
End Sub