Thread: protection
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
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