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???
 

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

Similar Threads


Back
Top