Good evening maacmaac
this should get you started, creating your own menu item and two sub items below it :
Sub CreateMenu()
Dim HelpMenu As CommandBarControl, NewMenu As CommandBarPopup
Dim MenuItem As CommandBarControl, Submenuitem As CommandBarButton
Set HelpMenu = CommandBars(1).FindControl(Id:=30010)
Set NewMenu = CommandBars(1).Controls.Add(Type:=msoControlPopup, Before:=HelpMenu.Index, temporary:=True)
NewMenu.Caption = "Trade &Analysis"
Set MenuItem = NewMenu.Controls.Add(Type:=msoControlButton)
With MenuItem
.Caption = "Item 1"
'.FaceId = 123
.OnAction = "Macro1"
End With
Set MenuItem = NewMenu.Controls.Add(Type:=msoControlButton)
With MenuItem
.Caption = "Item 2"
'.FaceId = 123
.OnAction = "Macro2"
End With
End Sub
Sub DeleteMenu()
On Error Resume Next
CommandBars(1).Controls("Trade Analysis").Delete
End Sub
HTH
DominicB
Bookmarks