![]() |
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 |
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 |
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 |
All times are GMT +1. The time now is 10:15 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com