Hi I have the following code for a button in my database -
Application.FollowHyperlink "R:/File Cabinet/", , True
When I click the button I am presented with two warning that the page I am about to open may contain viruses.
I don't want these warnings to come up.
I have tried turning docmd.setwarnings false to try and stop them popping up but i have been un sucessful.
The new code is-
Private Sub Command146_Click()
DoCmd.SetWarnings False
Application.FollowHyperlink "R:/File Cabinet/", , True
DoCmd.SetWarnings True
End Sub
Can anyone help?
Application.FollowHyperlink "R:/File Cabinet/", , True
When I click the button I am presented with two warning that the page I am about to open may contain viruses.
I don't want these warnings to come up.
I have tried turning docmd.setwarnings false to try and stop them popping up but i have been un sucessful.
The new code is-
Private Sub Command146_Click()
DoCmd.SetWarnings False
Application.FollowHyperlink "R:/File Cabinet/", , True
DoCmd.SetWarnings True
End Sub
Can anyone help?