Change Excel secuirty level

C

chris

Hi,

Can I change Excel's secuirty level from High to Medium programmarically ?

Is this property independent of user profile ?

Thanks a lot in advance.
 
T

The Code Cage Team

You cannot perform that action as the code has to run in order to make
changes, if the security is set to high then the user is asked if they want
to allow macro's, if they choose no the change would never occur. In my
opinion changing someones security setting without their knowledge is classed
as "Virus" activity and would never condone it!
__________________
Regards,
The Code Cage Team
 
C

chris

User needs to change secuirty manually (ex. in 2003 VERY HIGH does not run my
digitally signed add-in and user needs to change it to HEDIUM or HIGH),
that's why I need to do it programmatically from an independent VB6 program
which will create Excel object, so user does not do it manually by opening
Excel, selecting security etc....

Can I change it ?
 
C

chris

I am telling them for the moment. Just wanted to make it more automatic as
they complain of too many steps...
 

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