Command Button Hyperlink Warning

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
 
P

Penguin

Try DoCmd.SetWarnings = False

But remember to turn the warings back on after your code is executed.
 
A

Alan Z. Scharf

Penguin,

Thanks very much.

Alan
Penguin said:
Try DoCmd.SetWarnings = False

But remember to turn the warings back on after your code is executed.
 
G

Guest

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

Top