Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Suppress warning message
Hi Group,
Running "ActiveWorkbook.FollowHyperlink..." which creates a new file. I have tried Application.DisplayAlerts = False to suppress warning, "Opening http://.... Some files contain viruses.... Would you like to open......." but the alert still happens. Knowledge base only tells me how to suppress it byt changing the registry. Does any know how to clicl "OK" or suppress the message completely? Thanks, David |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Suppress warning message
Yes you are right about the registry setting..as per the below article
http://support.microsoft.com/default...b/829072/en-us Try using Sendkeys (which might help). 'add this line soon after you call ActiveWorkbook.FollowHyperlink Sendkeys "{ENTER 5}",1 -- Jacob "David" wrote: Hi Group, Running "ActiveWorkbook.FollowHyperlink..." which creates a new file. I have tried Application.DisplayAlerts = False to suppress warning, "Opening http://.... Some files contain viruses.... Would you like to open......." but the alert still happens. Knowledge base only tells me how to suppress it byt changing the registry. Does any know how to clicl "OK" or suppress the message completely? Thanks, David |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Suppress warning message
Hi Jacob,
Nice try, but it failed. Any other ideas? Thanks, David "Jacob Skaria" wrote: Yes you are right about the registry setting..as per the below article http://support.microsoft.com/default...b/829072/en-us Try using Sendkeys (which might help). 'add this line soon after you call ActiveWorkbook.FollowHyperlink Sendkeys "{ENTER 5}",1 -- Jacob "David" wrote: Hi Group, Running "ActiveWorkbook.FollowHyperlink..." which creates a new file. I have tried Application.DisplayAlerts = False to suppress warning, "Opening http://.... Some files contain viruses.... Would you like to open......." but the alert still happens. Knowledge base only tells me how to suppress it byt changing the registry. Does any know how to clicl "OK" or suppress the message completely? Thanks, David |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
suppress compatibility warning dialog during save | Excel Programming | |||
Suppress Delete Sheet Warning | Excel Programming | |||
How-To suppress a warning dialog | Excel Programming | |||
Macro Help - Suppress warning box | Excel Programming | |||
Unable to suppress warning message... | Excel Programming |