Registering to OnClick event of ActiveX control
问题 Unfortunately, I have not been able to figure out how to do the following: I am developing an Excel Add-In in VSTO / .NET / C#. I have been able to find out how to get references to the ActiveX controls in a worksheet. It is possible via the worksheet.OLEObjects collection. I can search that collection for a particular button if I know the name of the button. So far, so good. But now: How can I register an event handler that gets called when the button is clicked? 回答1: Found a solution now,