Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Adding other bars disabled ???

Hi all
I've made an application (with my own commandbars) in Excel 9. I've just
upgraded Excel 10 and I find out that there is a posssibility to add other
commandbars, commandbuttons by clicking on the control at the end of a
commandbar.
I need to disable this possibility ...
Thanks
Fero




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Adding other bars disabled ???

Chip Pearson posted this:

You can use Conditional Compilation combined with CallByName to
do what you want. For example,

#If VBA6 Then
If CInt(Application.Version) 9 Then
' Excel 2002 or 2003
CallByName Application.CommandBars, "DisableCustomize", VbLet, True
Else
' Excel 2000
End If
#Else
' Excel 97
#End If

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

===
In this similar thread:
http://groups.google.com/groups?selm...GP11.phx. gbl

wrote:

Hi all
I've made an application (with my own commandbars) in Excel 9. I've just
upgraded Excel 10 and I find out that there is a posssibility to add other
commandbars, commandbuttons by clicking on the control at the end of a
commandbar.
I need to disable this possibility ...
Thanks
Fero


--

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
Adding different value error bars to each column of the SAME serie Naz Excel Discussion (Misc queries) 1 March 10th 08 08:31 PM
Adding individual error bars Harthaus Charts and Charting in Excel 1 February 5th 08 09:22 PM
Adding Trendline To Just Some of the Bars in Chart Carroll Charts and Charting in Excel 2 February 27th 06 01:25 PM
adding vertical bars to an embedded chart using VBA Wazooli Excel Discussion (Misc queries) 0 November 15th 05 05:47 PM
adding scroll bars to a chart news2 Charts and Charting in Excel 4 October 5th 05 01:27 AM


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