I have this code in Excel 2010 that adds a custom menu to Excel's menu bar
which creates this
![Name: Windows_XP_-_Parallels_Desktop-2.jpg
Views: 5
Size: 31.8 KB]()
Is there any way to rename that or some other way to add my own custom menu?
Code:
Dim cbMainMenuBar As CommandBar
Dim intHelpMenu As Integer
Dim cbcCutomMenu As CommandBarControl
Set cbMainMenuBar = Application.CommandBars("Worksheet Menu Bar")
intHelpMenu = cbMainMenuBar.Controls("Help").Index
Set cbcCutomMenu = cbMainMenuBar.Controls.Add(Type:=msoControlPopup, Before:=intHelpMenu)
Is there any way to rename that or some other way to add my own custom menu?