Search code examples
eventsexceladd-inxlavba

Worksheet_SelectionChange event in xla add-in


Is to possible to trigger Worksheet_SelectionChange event in xla add-in. I put the code in Worksheet module of add-in. but it did not enter into this module. My target is to set the comment box in the center of active window. I got the code from here. Please help me.


Solution

  • You need to work with Application-level events if you want to capture an event in another workbook. See here