Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Protecting Menu's & toolbars

Dear NG-ers;

I created a fully functional menu and toolbar for a new application which
works perfectly.
There is only one thing missing and I can't figure out how to do this.
How can I protect Toolbars & Menu's programmatically so that users can't
right click on the commandbar to
"customize" or "add" other toolbars and menu's.

--
Mark Rosenkrantz
---
Spreadsheet Solutions
Witkopeend 24
1423 SN
Uithoorn, Netherlands
---
E:
W:
www.rosenkrantz.nl



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Protecting Menu's & toolbars

Hi Spreadsheet Solutions

Try

'Disable right clicking on the worksheet menu bar and other bars
Application.CommandBars("Toolbar List").Enabled = False 'This prevents users double-clicking on the Toolbar area to open the
'(Customize Toolbars) dialog. Only Excel 2002 and up
Application.CommandBars.DisableCustomize = True




--
Regards Ron de Bruin
http://www.rondebruin.nl


"Spreadsheet Solutions" wrote in message . ..
Dear NG-ers;

I created a fully functional menu and toolbar for a new application which works perfectly.
There is only one thing missing and I can't figure out how to do this.
How can I protect Toolbars & Menu's programmatically so that users can't right click on the commandbar to
"customize" or "add" other toolbars and menu's.

--
Mark Rosenkrantz
---
Spreadsheet Solutions
Witkopeend 24
1423 SN
Uithoorn, Netherlands
---
E:
W:
www.rosenkrantz.nl





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
Change menu's and toolbars in 2007 Gina New Users to Excel 7 February 27th 07 06:57 AM
Pull Down menu's Robin Excel Worksheet Functions 7 October 7th 05 09:31 PM
no menu's ceemo[_10_] Excel Programming 6 August 17th 05 07:10 PM
Custom Menu's Fgomez Excel Discussion (Misc queries) 1 April 19th 05 02:43 PM
Custom menu's Stu[_33_] Excel Programming 3 April 1st 04 10:02 PM


All times are GMT +1. The time now is 03:56 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"