Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disabling Macro-Virus check


Hi All,
I have written a Excel Macro. The security option is medium. Hence whe
ever I open the excel file it is asking me to select either Enable o
Disable macro. I would like to put this excel in windows scheduler fo
automation. I do not want to get this macro-virus check option becaus
human interaction is not possible in this case. And, I do not what t
put the security option to low.

Therefore only for this excel file, it should not display the macr
enable/disable prompt. Can any body help me.

Thanks in advance.
Sr

--
s_s_sridha
-----------------------------------------------------------------------
s_s_sridhar's Profile: http://www.excelforum.com/member.php...fo&userid=1497
View this thread: http://www.excelforum.com/showthread.php?threadid=26602

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Disabling Macro-Virus check

save the macro in a vbs (vb script file)
assuming your anti virus setup allows execution of vbs scripts
office will run it without any prompts.



keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


s_s_sridhar wrote:


Hi All,
I have written a Excel Macro. The security option is medium. Hence when
ever I open the excel file it is asking me to select either Enable or
Disable macro. I would like to put this excel in windows scheduler for
automation. I do not want to get this macro-virus check option because
human interaction is not possible in this case. And, I do not what to
put the security option to low.

Therefore only for this excel file, it should not display the macro
enable/disable prompt. Can any body help me.

Thanks in advance.
Sri



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
Virus Check Terry Bennett Excel Worksheet Functions 3 June 7th 09 10:37 PM
Macro Virus? its_my_dime Excel Discussion (Misc queries) 1 December 1st 05 03:43 PM
Macro virus Morrigan Excel Discussion (Misc queries) 1 August 30th 05 06:11 PM
Macro virus Morrigan Excel Worksheet Functions 0 August 30th 05 04:31 PM
macro virus Cindy Excel Programming 0 February 18th 04 09:32 PM


All times are GMT +1. The time now is 11:16 AM.

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"