#1   Report Post  
Posted to microsoft.public.excel.programming
TK TK is offline
external usenet poster
 
Posts: 177
Default protection

Hi

Lotus 123 had a protection choice
that allowed macro execution.
Is there a setting or VBA code equivalent
in Excel or is it necessary to toggle the
protection setting in the procedure.


Thanks
TK

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default protection

the userinterfaceonly argument to the protection method (for worksheets)
allows macro execution. It can only be set with code and is non-persistent
in that if you close and reopen the workbook, the setting always defaults to
False. In xl2002 and later, you have to supply the password to change this
setting. In earlier versions, you were not required to.

--
Regards,
Tom Ogilvy

"TK" wrote in message
...
Hi

Lotus 123 had a protection choice
that allowed macro execution.
Is there a setting or VBA code equivalent
in Excel or is it necessary to toggle the
protection setting in the procedure.


Thanks
TK



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default protection

Macro control is primarily done at the application
level. goto Tools..Macro..Security to see the options.

HTH
-----Original Message-----
Hi

Lotus 123 had a protection choice
that allowed macro execution.
Is there a setting or VBA code equivalent
in Excel or is it necessary to toggle the
protection setting in the procedure.


Thanks
TK

.

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
Excel Data Protection Best Practice: AKA: Real Sheet Protection Mushman(Woof!)[_2_] Excel Discussion (Misc queries) 4 December 30th 09 01:20 AM
Excel Data Protection- AKA: Sheet/Macro Password Protection Mushman(Woof!) Setting up and Configuration of Excel 0 December 29th 09 06:50 AM
WS Protection: Different Levels of Protection on Different Ranges Carmi Excel Discussion (Misc queries) 4 August 31st 07 02:26 PM
Cell Protection vs. Worksheet Protection kmwhitt Excel Discussion (Misc queries) 4 September 24th 06 02:37 AM
Worksheet protection is gone and only wokbook protection can be se Eric C. Excel Discussion (Misc queries) 4 May 2nd 06 04:50 PM


All times are GMT +1. The time now is 06:56 PM.

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"