Hi Guys,

I've created an Office.CommandBarPopup Add-In for Excel that launches a
Windows Form as a modal dialog when a button within the CommandBarPopup is
clicked.

However, when Excel is shut down I am receiving an InvalidCOMObjectException
error. This is even happening even though the form has no embedded controls.
It doesn't happen if the dialog isn't instantiated.

Is there a procedure that needs to be followed when destroying forms from
Excel add-ins?

Best regards,

Jim...