M
Milazimi
Hi,
Can anyone please tell me how to modify the code below so it opens an Adobe
(PDF) file instead of a Word file.
Sub OpenWordDoc(strDocName As String)
Dim objApp As Object
'Opens the document
Set objApp = CreateObject("Word.Application")
objApp.Visible = True
objApp.Documents.Open strDocName
End Sub
What I like is from my Microsoft Access form, to hyperlink to an Adobe PDF
document. At present each record contains a document name and a full file
path to where the document is stored. I would like to open Adobe and view the
specified PDF document. Thank you.
Can anyone please tell me how to modify the code below so it opens an Adobe
(PDF) file instead of a Word file.
Sub OpenWordDoc(strDocName As String)
Dim objApp As Object
'Opens the document
Set objApp = CreateObject("Word.Application")
objApp.Visible = True
objApp.Documents.Open strDocName
End Sub
What I like is from my Microsoft Access form, to hyperlink to an Adobe PDF
document. At present each record contains a document name and a full file
path to where the document is stored. I would like to open Adobe and view the
specified PDF document. Thank you.