Open it? Look at FollowHyperlinkHow do I display a Word document or PDF document in Access?
I've seen pdf displayed inside a browser control. Have you tried that? Not sure if it will work with a Word doc though, but you could give it a try.I have so far not been able to display .doc or .pdf
So to be quite clear you want to see them on an access form - since ‘want it to display…’ could mean that or it could mean open in wordwant it to display various Word documents. No editing required.
I used to have a list of Add-ins, but now the list is empty. I will get the server techs to reinstall the Microsoft add-ins.
Private Sub txtViewAuditDoc_Click()
On Error GoTo Proc_Err
If Me.txtViewAuditDoc & "" = "" Then
MsgBox "There is no document link. Please add one on the Audit Parms form.", vbOKOnly + vbInformation
Else
Application.FollowHyperlink Me.txtViewAuditDoc, , True
End If
Proc_Exit:
Exit Sub
Proc_Err:
Select Case Err.Number
Case 7971
Resume Proc_Exit
Case Else
MsgBox Err.Number & "--" & Err.Description, vbCritical
Resume Proc_Exit
End Select
End Sub