LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default XL 2003 TOOLS/Macro/security level inactive

Jim, thatnk U for the reply...
per your advice i check hkey security level and it's set to 2 (from
what U mentioned in your email 2 is Medium)...but when i open up
spreadsheet which has workbook_open()routine excel instantiates that
procedure without warning...
cheers
D.

Jim Rech wrote:
When you say that the security level is not active I assume you mean it is
disabled so you cannot change it. I don't know what registry entry would
cause that. But the entry that holds the current security level is "Level",
a dword entry under:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Security

A "1" = None, "2" = medium, etc.

Btw, this has nothing to do with the AutomationSecurity property, which is
something entirely different. There is no programmatic way to change the
security level as far as I know.

--
Jim
wrote in message
oups.com...
| Hi,
| i have spreadsheets with macros in Workbook_Open() and i need to open
| one of them in a macro disable mode to prevent macro run..
|
| i've just moved from XL2K to 2003 and im trying to change security
| level through ToolsMacroSecurity same way as ive always been doing
| it in XL2K but somehow Security option is not ACTIVE so i can't click
| on it (is some settings in excel i should check/uncheck to make it
| active?)
|
| I also tried to do the trick through the code
|
(application.AutomationSecurityAutomationSecurity= msoAutomationSecurityForceDisable)
| by putting it into debugger or creating new spreadsheet with that code
| inside..
|
| ?Application.AutomationSecurity
| 3
| the above check shows that excel is in macro disable mode but if i open
| a spreadsheet with macro in Workbook_Open() excel instantiates a
| macro..
|
| anyone can explain how to deal with the issue
| thank U in advance
| Dim
|


 
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
How can I change the Macro Security level in Excel 2003 viewer? Kelvin[_2_] Excel Discussion (Misc queries) 4 March 2nd 09 03:40 PM
How can I change the Macro Security level in Excel 2003 viewer? Kelvin[_2_] Setting up and Configuration of Excel 4 March 2nd 09 03:40 PM
How can I change the Macro Security level in Excel 2003 viewer? Kelvin[_2_] New Users to Excel 4 March 2nd 09 03:40 PM
Excel 2003 sticks to the low macro security level Dima[_2_] Excel Discussion (Misc queries) 14 April 29th 08 07:45 PM
Macro to change security level Michael Miazga[_2_] Excel Programming 2 July 21st 03 08:39 PM


All times are GMT +1. The time now is 12:25 PM.

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"