securety problem

  • Thread starter Thread starter climax
  • Start date Start date
C

climax

Hi,

I start an app in vb with this code:

ActiveWorkbook.FollowHyperlink "C:\te.exe"

I always get a warning about hyperlinks that can be harmfull to
computer.
How can I bypas this warning.
I ´ve put my macro securety on low and trust all installed add-ins and
templates + trust acces to visiual basic project.

Is there a way so the warning won´t show

Thanks
Johan
 
Climax,

Try putting

Application.DisplayAlerts = False

at the beginning of your code. At the end of your code you'd put

Application.DisplayAlerts = True

Let me know if this works.

Thanks!
 
I tried also without the 3d. No syntax error but still get the popu
scree
 
Hmm, I can't seem to duplicate the problem - what's the code on the
line that you're getting the error?

Thanks.
 
As a general rule warning messages that involve virus alerts or other things
which could cause your system harm can not be turned off. Otherwise those
that created the virus or ??? would just defeat the warning message... As a
guess this is one of those things you may have to learn to live with...
 

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

Back
Top