Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default What is the command to select a button in alert message?

I have to save .CSV file from hyperlink. For that when I use following command
it gives an opening alert message like "The file may contain viruses Would you
like to open the file" .For that I have to give "OK" command. How to do this
through macro programming? What is the command available to do this?

ActiveWorkbook.FollowHyperlink Address:="http://example(e.g. csv or pdf
file)", _
NewWindow:=True

(Note : I tried to avoid this alert message, but it requires windows
registry modification. I dont want to do this)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default What is the command to select a button in alert message?

See:

http://support.microsoft.com/Default.aspx?kbid=829072



--
Gary''s Student - gsnu200728


"ezil" wrote:

I have to save .CSV file from hyperlink. For that when I use following command
it gives an opening alert message like "The file may contain viruses Would you
like to open the file" .For that I have to give "OK" command. How to do this
through macro programming? What is the command available to do this?

ActiveWorkbook.FollowHyperlink Address:="http://example(e.g. csv or pdf
file)", _
NewWindow:=True

(Note : I tried to avoid this alert message, but it requires windows
registry modification. I dont want to do this)

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default What is the command to select a button in alert message?

Thanks,

Actually my idea is to download series of .csv files through macro. I changed
the settings for .csv files through folder option menu (as given in method
-1 from website referred by you) but it is not working.
I again changed the settings for .xls files through folder option now it is
working. ( for .csv files) Thank you very much .


"Gary''s Student" wrote:

See:

http://support.microsoft.com/Default.aspx?kbid=829072



--
Gary''s Student - gsnu200728


"ezil" wrote:

I have to save .CSV file from hyperlink. For that when I use following command
it gives an opening alert message like "The file may contain viruses Would you
like to open the file" .For that I have to give "OK" command. How to do this
through macro programming? What is the command available to do this?

ActiveWorkbook.FollowHyperlink Address:="http://example(e.g. csv or pdf
file)", _
NewWindow:=True

(Note : I tried to avoid this alert message, but it requires windows
registry modification. I dont want to do this)

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
How do I create a warning message on a command button lkreeder New Users to Excel 4 February 1st 09 04:52 PM
Message alert laurenm Excel Discussion (Misc queries) 6 December 19th 06 08:05 PM
Command button auto select after pressing Enter Bafa[_12_] Excel Programming 3 August 21st 06 07:58 AM
MESSAGE ALERT Shyla Excel Programming 2 October 28th 03 08:54 PM
Single command button to select one of several choices. Mike Krumel Excel Programming 6 July 18th 03 01:43 PM


All times are GMT +1. The time now is 05:40 PM.

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

About Us

"It's about Microsoft Excel"