Excel Automation, how to determine if a user runs a macro in an excel sheet or clicks "Run Macro" CommandBarControl?

Is there any event in the .net automation libraries that can detect when a user working on an excel file runs a macro?

For example, a user opens an excel document that contains a macro, how does he run the macro and the .net application that is bound to this excel process detects the start macro event?

or perhaps bind a macro function to a delegated event in the application.

change

Is it possible to catch the โ€œRun Macroโ€ CommandBarControl event from the code behind?

+5
source share
2 answers

, "" .NET, TrackToAct.com ( .) VBA DLL, . -.

+1
+1

All Articles