Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
kdw kdw is offline
external usenet poster
 
Posts: 13
Default Detecting Security Level

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!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Detecting Security Level

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!


  #3   Report Post  
Posted to microsoft.public.excel.programming
kdw kdw is offline
external usenet poster
 
Posts: 13
Default Detecting Security Level

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
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
Macros/Security Level Freida Excel Discussion (Misc queries) 1 November 5th 07 05:52 PM
Detecting Macro Security Level Ed Ferrero[_5_] Excel Programming 0 June 15th 04 01:22 PM
Detecting Macro Security Level arkimediz Excel Programming 0 June 15th 04 11:47 AM
Changing security level Trevor Shuttleworth Excel Programming 2 August 22nd 03 08:54 PM
Changing security level steve Excel Programming 0 August 22nd 03 06:32 PM


All times are GMT +1. The time now is 09:36 AM.

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

About Us

"It's about Microsoft Excel"