Deleting a menu from a menu bar
Sub DeleteMenu() On Error Resume Next CommandBars(1).Controls("newCommand").Delete End Sub