We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
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.
|Characters in .xlsb filename cause macro association to be lost (Error 1004)||2||21|
|Excel graph in access report||1||34|
|rename csv files in a folder||3||23|
|Create a list of Worksheets based on Cell Value||14||33|
Join the community of 500,000 technology professionals and ask your questions.