View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Two menus appears in commandbar(Cells)

They both create for me. Is there anything else?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"helmekki" wrote in
message ...

Hi there
i have a problem,
when openning the XL App, two menus should be added to the
Commandbar(Cells) :
one is:

Code:
--------------------
Set ComPop =

Application.CommandBars("Cell").Controls.Add(Type: =msoControlPopup,
befo=10)
ComPop.BeginGroup = True
ComPop.Caption = "&Favourites"
--------------------

Second is:

Code:
--------------------
With Application.CommandBars("cell").Controls.Add(befor e:=1,

Type:=msoControlPopup)
.Caption = "Gold Menu"
End With
--------------------


The problme is that one appears in the comaandbar(cells) but hte other
not, i tried to modify the argument befo=1 or 2 or even 9, but
without success, both togather never appear in the commandbar(cells).
i need them both to be appear in the commandbar(Cells) ?


--
helmekki


------------------------------------------------------------------------
helmekki's Profile:

http://www.excelforum.com/member.php...fo&userid=6939
View this thread: http://www.excelforum.com/showthread...hreadid=395264