Public Sub List_Controls()
Dim oCell As Range
Dim oCommandBars As CommandBars
Dim oCommandBar As CommandBar
Dim oControl As CommandBarControl
Dim oControls As CommandBarControls
Set oCell = Range("A2")
For Each oCommandBar In CommandBars
oCell.Value = oCommandBar.Name
oCell.Font.Bold = True
Set oCell = oCell.Offset(1, 0)
For Each oControl In oCommandBar.Controls
oCell.Offset(0, 1).Value = oControl.TooltipText
oCell.Offset(0, 2).Value = oControl.Caption
oCell.Offset(0, 3).Value = oControl.ID
Set oCell = oCell.Offset(1, 0)
Next oControl
Set oCell = oCell.Offset(1, 0)
Next oCommandBar
End Sub