S
SF
Hi,
I have an hyperlink field that store location on the file. I put a button
that can open related file mention in the hyperlink field. My problem is
when I open a word file, a WEB toolbar appear in the word documnet. Is there
a way to suppress this toolbar from Access?
Private Sub cmdOpenDoc_Click()
On Error GoTo Err_cmdOpenDoc_Click
Dim strSQL As String
strSQL = "'" & Me.DocLink & "'"
Application.FollowHyperlink Me.DocLink
Exit_cmdOpenDoc_Click:
Exit Sub
Err_cmdOpenDoc_Click:
MsgBox Err.Number & " " & Err.Description, vbOKOnly + vbInformation
Resume Exit_cmdOpenDoc_Click
End Sub
I have an hyperlink field that store location on the file. I put a button
that can open related file mention in the hyperlink field. My problem is
when I open a word file, a WEB toolbar appear in the word documnet. Is there
a way to suppress this toolbar from Access?
Private Sub cmdOpenDoc_Click()
On Error GoTo Err_cmdOpenDoc_Click
Dim strSQL As String
strSQL = "'" & Me.DocLink & "'"
Application.FollowHyperlink Me.DocLink
Exit_cmdOpenDoc_Click:
Exit Sub
Err_cmdOpenDoc_Click:
MsgBox Err.Number & " " & Err.Description, vbOKOnly + vbInformation
Resume Exit_cmdOpenDoc_Click
End Sub