Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding custom menu bar 2

Status
Not open for further replies.

gdev

Technical User
Mar 12, 2001
38
Hi,

I am creating a custom menu bar with several popup menus. Do I need to
specify that it is a menu bar? Or does it matter?

For example,

Dim cbr As Commandbar
cbrPopup as CommandBarPop
Dim strname As string

strname = "My menu"

Set cbr = Commandbars.Add(name:=strname, position:=msoBarTop)
cbr.type = msoBarTypeMenuBar


thanks
gwen



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top