I get only the first event notification, and nothing happens after that. Any ideas?
UPD: I found a strange thing. My code for the event handler looked like this:
var cell = range.Cells[1, 1]; var rangeName = cell.Address[false, false, XlReferenceStyle.xlA1, Type.Missing, Type.Missing];
I changed it this way by adding an explicit cast type:
var cell = (Range)range.Cells[1, 1]; var rangeName = cell.Address[false, false, XlReferenceStyle.xlA1, Type.Missing, Type.Missing];
And now my event handler is called several times, and only then it stops receiving the call.
source share