Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Unprotecting a menu bar

How can I unprotect a menu bar (e.g. 'Worksheet Menu Bar')
I have previously protected using 'MenuBarName.Protection'?

David
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default Unprotecting a menu bar

David,

Application.CommandBars("Worksheet Menu Bar").Protection =
msoBarNoProtection


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"David" wrote in message
...
How can I unprotect a menu bar (e.g. 'Worksheet Menu Bar')
I have previously protected using 'MenuBarName.Protection'?

David



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Unprotecting a menu bar

Commandbars("Worksheet Menu Bar").Protection = msoBarNoChangeVisible

sets it back to the default.

--
Regards,
Tom Ogilvy


David wrote in message
...
How can I unprotect a menu bar (e.g. 'Worksheet Menu Bar')
I have previously protected using 'MenuBarName.Protection'?

David



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
Unprotecting cells Julie G Excel Discussion (Misc queries) 1 February 6th 09 08:59 PM
protecting and unprotecting Fusion1337 Excel Worksheet Functions 5 September 26th 08 04:03 PM
Unprotecting a worksheet Jessica Excel Worksheet Functions 8 August 21st 08 06:43 PM
Unprotecting Workbook Anto111 Excel Discussion (Misc queries) 1 June 22nd 08 01:37 PM
Unprotecting Worksheets Storm Excel Discussion (Misc queries) 3 August 29th 07 11:06 PM


All times are GMT +1. The time now is 12:58 AM.

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"