Sub test()
Dim c, i
Cells.Clear
For Each c In CommandBars '命令栏
i = i + 1
Cells(i, 1) = c.Index
Cells(i, 2) = c.Name
Cells(i, 3) = c.NameLocal
Next c
End Sub
Sub test()
Dim c, i
Cells.Clear
For Each c In CommandBars '命令栏
i = i + 1
Cells(i, 1) = c.Index
Cells(i, 2) = c.Name
Cells(i, 3) = c.NameLocal
Next c
End Sub