It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.
Sub CreateSSMenu_Wcodestyle2() Dim cbpop As CommandBarControl, cbctl As CommandBarControl, cbsub As CommandBarControl Call RemoveSSMenu_Wcodestyle Set cbpop = CommandBars("Worksheet Menu Bar").Controls.Add(Type:=msoControlPopup, Temporary:=True) With cbpop .Caption = "MenuTest" .Visible = True End With Set cbsub = cbpop.Controls.Add(Type:=msoControlPopup) With cbsub .BeginGroup = True 'False ' .Caption = "Address To" End With Set cbctl = cbsub.Controls.Add(Type:=msoControlButton) With cbctl .Visible = True .BeginGroup = True 'False 'True .Style = msoButtonCaption .Enabled = False .Caption = "Pre-Selected" End With Set cbctl = cbsub.Controls.Add(Type:=msoControlButton) With cbctl .Visible = True .BeginGroup = True 'False .Style = msoButtonCaption .Caption = "User Specified" End With Set cbpop = Nothing Set cbsub = Nothing Set cbctl = Nothing End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.