Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
suppress compatibility warning dialog during save [email protected] Excel Programming 2 July 14th 08 11:59 AM
Suppress Delete Sheet Warning Scott Excel Programming 1 June 21st 08 05:51 PM
How-To suppress a warning dialog James Excel Programming 2 August 11th 04 08:36 PM
Macro Help - Suppress warning box ssmith Excel Programming 3 July 20th 04 08:07 PM
Unable to suppress warning message... Jeff Richman Excel Programming 3 October 31st 03 07:25 AM


All times are GMT +1. The time now is 09:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"