Web toolbar appear when...

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top