Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Controlling toolbar available

Is it possible to prevent a tool bar from being activated at all?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Controlling toolbar available


set cbr.enabled = false will make it
invisible and inoperable.

be carefull when you do it for builtin toolbars
be sure to have a bulletproof method to reset them
also AFTER stateloss.


--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


polandjc wrote :

Is it possible to prevent a tool bar from being activated at all?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Controlling toolbar available

CommandBars("ToolbarName").Enabled = False


"polandjc" wrote:

Is it possible to prevent a tool bar from being activated at all?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Controlling toolbar available

My previous response doesn't seem to be here!
Use CommandBars("ToolbarName").Enabled = False

"polandjc" wrote:

Is it possible to prevent a tool bar from being activated at all?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Controlling toolbar available

Crap... already screwed this up... so how do you retreive a toolbar that's
been deleted?! :(

"keepITcool" wrote:


set cbr.enabled = false will make it
invisible and inoperable.

be carefull when you do it for builtin toolbars
be sure to have a bulletproof method to reset them
also AFTER stateloss.


--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


polandjc wrote :

Is it possible to prevent a tool bar from being activated at all?


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
Controlling Sequence HS Excel Discussion (Misc queries) 0 March 15th 05 02:15 PM
Controlling Tab Oders John Excel Programming 1 February 12th 04 01:27 AM
Controlling VBA MWE[_3_] Excel Programming 2 January 13th 04 07:23 PM
Controlling the mouse Brian Sharf Excel Programming 1 July 21st 03 08:24 AM


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