Is there any way to access the code for all the built-in Cell Context Menu functions?
I'm specifically looking to run the "AddComment" function from the RightClick Context Menu - but I've built a custom context menu.
What it does is not only add a comment. It opens the comment and adds my name and selects it. It's nice and I'd like to apply that function in a custom context menu. So I either need to get a hold on the code for that function, or 'call' the function itself from my custom context menu.
EDIT: I think I need to be more specific:
- The standard operation that's called "Insert comment" is located in the cell right-click context menu.
- I want to copy that function into my own (custom) right-click context menu.
- Is there any place one can see the actual code for all the built-in functions in excel? I'm talking about these right-click functions, for example.
So, I don't want to hijack a context menu. I want to use it! But I've created a custom right-click context menu, where I want to insert a function from the original right-click context menu.