custom menubar combo box

T

Toxalot

I know how to add a button and how to add a drop down menu to a custom
menu bar. Is it possible to add a custom combo box to a custom menu
bar (like the one used for zoom for example)?

Jennifer
 
P

Pieter Wijnen

yes, but you have to program it (reference Office)
starting point:

Dim Cb As Office.CommandBar
Dim Cbc As Office.CommandBarComboBox

set Cb = Access.Commandbars("mycb")


HTH

Pieter
 
T

Toxalot

Can I add the reference and the code, create the bar and then remove
the reference and the code? I don't need to change anything once it is
created. Will the menubar be available with the runtime?

How do I know what item was selected from the combo box?

Jennifer
 
Top