Embedded Excel OLE Orphan Preventer

This add-in is designed to correct the scenario where orphaned embedded Excel workbooks are left open even after the parent application or document has closed. The problem occurs when you edit your embedded Excel instance in another Window (usually via a right-click / Ole Object / Open). If you leave Excel open, return to Word and close the document, Excel should close. But in the VSTO COM/OLE scenario it may not always close. Instead it will remain open in Excel with the embedded workbook still in an editable state. However, it is orphaned an no longer associated with its container. Any edits you perform on the rogue instance will be lost.

This add-in corrects that issue by doing the following: