Macro Virus Protection

L

L Buchy

Is is possible to set the "Macro virus protection" property
(Tools/Options/General) in a VB script? If so, what command do I use as I
have searched the help & can't seem to find anything.

Thx.
 
B

Bill Lunney

Setting the macro virus protection level is only available interactively via
the Excel user interace. No way to get round that and that is a good thing!


--

Regards,


Bill Lunney
www.billlunney.com
 
T

Tim Williams

On the off chance that you really mean "VB script" and are trying to run
excel in automation, look at

Application.AutomationSecurity

Tim.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top