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.
 
D

dirty70bird

Where do I add this code? Do you add it to the OnLoad or OnOpen of the
expression builder???
 
Top