Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Excel 2002 - Commandbar.protection = msoBarNoCustomize

I have a similar issue I hope someone can help with - I would like to
disable the "Add or Remove Buttons" drop down (only) as part of the
Workbook_Open procedure in an xla that deploys a set of custom
toolbars. I have tried experimenting with Jim's code above but nothing
happens if I just use the following statement (in Excel 2003):

Application.CommandBars.DisableAskAQuestionDropdow n = True

which I would have thought was correct. However, if I change the
property to "False", nothing happens either (i.e., the drop downs still
show).

Can someone suggest what I am doing wrong?

Thanks,

Jeff

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Excel 2002 - Commandbar.protection = msoBarNoCustomize

Maybe:

Application.CommandBars.DisableCustomize = True

would work.

I think that this was added in xl2002. Are you going to run this in earlier
versions?



Jeff wrote:

I have a similar issue I hope someone can help with - I would like to
disable the "Add or Remove Buttons" drop down (only) as part of the
Workbook_Open procedure in an xla that deploys a set of custom
toolbars. I have tried experimenting with Jim's code above but nothing
happens if I just use the following statement (in Excel 2003):

Application.CommandBars.DisableAskAQuestionDropdow n = True

which I would have thought was correct. However, if I change the
property to "False", nothing happens either (i.e., the drop downs still
show).

Can someone suggest what I am doing wrong?

Thanks,

Jeff


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Excel 2002 - Commandbar.protection = msoBarNoCustomize

Hi Dave,

Thanks for the suggestion. However, I don't want to disable the ability
to customize the toolbars so much as get back the space taken up by the
drop down arrow introduced in XP & 2003. And yes, I will be running
this across PC versions from Excel 97 through Excel 2003.

From my research thus far, it is beginning to sound like this can't be

done ...

Jeff

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Excel 2002 - Commandbar.protection = msoBarNoCustomize

I don't know a way to hide that.

Jeff wrote:

Hi Dave,

Thanks for the suggestion. However, I don't want to disable the ability
to customize the toolbars so much as get back the space taken up by the
drop down arrow introduced in XP & 2003. And yes, I will be running
this across PC versions from Excel 97 through Excel 2003.

From my research thus far, it is beginning to sound like this can't be

done ...

Jeff


--

Dave Peterson
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
Problems with cell protection-Excel 2002 SP3 -charles- Excel Discussion (Misc queries) 0 July 21st 09 01:56 AM
Protection of check boxes in excel 2002 Newbeetle Excel Discussion (Misc queries) 2 March 14th 05 12:59 PM
Excel 2002 Pivot Table Protection Kirk P. Excel Discussion (Misc queries) 1 February 23rd 05 10:08 PM
msoBarNoCustomize Tim[_15_] Excel Programming 3 November 6th 03 08:30 PM
Over protection in 2002 XP environment Dave Peterson[_3_] Excel Programming 0 September 13th 03 02:26 AM


All times are GMT +1. The time now is 04:17 AM.

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"