Hello,
I'd like to customize the Application.CommandBars("Cell") in the following way:
- Delete all buttons
- Add my own buttons
The problem is after deleting everything, the line "ContextMenu.Controls.Add(Type:=msoControlButton, before:=1)" doesn't work anymore.
Given the fact that there is no button anymore, the macro does not understand the "before:=1".
How can I add a first button after deleting everything ?
Thanks
Bookmarks