List of events COM object can trigger
List Workbook Events
Open a Microsoft
Excel® application and list all events for a
myApp = actxserver('Excel.Application'); wbs = myApp.Workbooks; wb = Add(wbs); events(wb)
c — COM object
COM object, specified as a function handle.
S — Event information
Information about registered and unregistered events known to the COM object, returned as a structure array. The array contains the function prototype used to call the event handler routine. For each array element, the structure field is the event name and the contents of that field is the function prototype for the handler of that event.
Introduced before R2006a