PC Review


Reply
Thread Tools Rate Thread

Detecting Security Level

 
 
=?Utf-8?B?a2R3?=
Guest
Posts: n/a
 
      28th Jan 2005
Some users have their security level at High, and then don't know why the
file with macros doesn't work. I have seen suggestions on using SelfCert and
dos and don'ts of changing registry.

I like the suggestion of hiding all all sheets but one that display the
warning that the macros won't work if macros are disabled, and maybe put
instructions for them to change their security level.

But I don't want the warning to display for users whose security level is
Medium or Low. Is there a way to detect what security level the user has set
so I can warm them if their settings automatically disable macros?

Thanks in advance!


 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIFRob21saW5zb24=?=
Guest
Posts: n/a
 
      28th Jan 2005
If security is high then macro's don't run. Use on_open event code to hide
the sheet that lets them know that the spreadsheet won't work with the high
security setting. If security is other than high then the macro runs and the
the sheet is never visible. This is the solution I have used. I do not know
of any way of detecting security settings otherwise...

HTH

"kdw" wrote:

> Some users have their security level at High, and then don't know why the
> file with macros doesn't work. I have seen suggestions on using SelfCert and
> dos and don'ts of changing registry.
>
> I like the suggestion of hiding all all sheets but one that display the
> warning that the macros won't work if macros are disabled, and maybe put
> instructions for them to change their security level.
>
> But I don't want the warning to display for users whose security level is
> Medium or Low. Is there a way to detect what security level the user has set
> so I can warm them if their settings automatically disable macros?
>
> Thanks in advance!
>
>

 
Reply With Quote
 
=?Utf-8?B?a2R3?=
Guest
Posts: n/a
 
      28th Jan 2005
This would work. Thanks Jim.

"Jim Thomlinson" wrote:

> If security is high then macro's don't run. Use on_open event code to hide
> the sheet that lets them know that the spreadsheet won't work with the high
> security setting. If security is other than high then the macro runs and the
> the sheet is never visible. This is the solution I have used. I do not know
> of any way of detecting security settings otherwise...
>
> HTH
>
> "kdw" wrote:
>
> > Some users have their security level at High, and then don't know why the
> > file with macros doesn't work. I have seen suggestions on using SelfCert and
> > dos and don'ts of changing registry.
> >
> > I like the suggestion of hiding all all sheets but one that display the
> > warning that the macros won't work if macros are disabled, and maybe put
> > instructions for them to change their security level.
> >
> > But I don't want the warning to display for users whose security level is
> > Medium or Low. Is there a way to detect what security level the user has set
> > so I can warm them if their settings automatically disable macros?
> >
> > Thanks in advance!
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting Trust Level Will Microsoft ASP .NET 2 19th Feb 2007 04:07 PM
Re: Detecting Macro Security Level Ed Ferrero Microsoft Excel Programming 0 15th Jun 2004 01:22 PM
Detecting Macro Security Level arkimediz Microsoft Excel Programming 0 15th Jun 2004 11:47 AM
Re: Share level security vs. Directory level security Steven L Umbach Microsoft Windows 2000 Security 0 12th Nov 2003 08:54 PM
Share level security vs. Directory level security Dean Microsoft Windows 2000 Security 0 12th Nov 2003 05:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:47 AM.