Hi,
I have added a combo toolbar and am got stuck on how to identify the option selected.
The combo menu option is setup and populated as follows.
With cbSuBMnu3.Controls
Set cbSuBMnu31_Combo = .Add(Type:=msoControlComboBox)
End With
With cbSuBMnu31_Combo
.AddItem Text:=”Option 1″
.AddItem Text:=”Option 2″
.AddItem Text:=”Option 3″
.OnAction = “RunThisMacro”
.DropDownLines = 10
.DropDownWidth = 200
.ListHeaderCount = 0
I initially tried creating an “on action” for each option but it always ran the first “on action” registered. It would appear on one “on action” can be used and the resulting macro identify which was selected? How do you know which option was selected?
guidance much appreciated.
otk