I have a COM addin in which I am handling excel events. I click Alt F11
to view the VBA project related to an excel. However, when I close the workbook the Excel VBA project in the project explorer is not closed as well.
It gets closed normally when my COM addin is not installed. What is going on, and what should I do differently?
The problem was with workbook objects remaining in the memory. By clearing the objects in the workbook deactivate event, the VBA project is getting closed when I close the workbook.
See this: http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/377fbebc-021d-4e48-aaef-d4658cc221b3
Thanks