Worksheet_SelectionChange event in xla add-in

2019-05-29 03:00发布

问题:

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.

回答1:

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