Command Button Hyperlink Warning

  • Thread starter Thread starter Alan Z. Scharf
  • Start date Start date
A

Alan Z. Scharf

I have a Command Button with Hyperlink address.

When pressed, it gives warning that Hyperlinks 'can be harmful to your
computer'.

How can I permanently suppress this warning?

Thanks.

Alan
 
Try DoCmd.SetWarnings = False

But remember to turn the warings back on after your code is executed.
 
Where do I add this code? Do you add it to the OnLoad or OnOpen of the
expression builder???
 
Back
Top