The situation:
- VSTO add-in for Excel
- a workbook is edited in-place (Wordpad or Word)
Problem:
- wiring any events like Application_WorkbookActivate in the startup makes Excel hang; the shutdown or Application_WorkbookOpen events are not triggered; killing Excel and starting it again, it offers to recover the in-place edited file, meaning the OLE document was not correctly closed.
- if no events are wirred Excel stops correctly (when WordPad or Word document is closed)
Any idea
Thanks!