We have an application where we are getting the error, "Microsoft Office Excel has encountered a problem and needs to close. We are sorry for
the inconvenience.", when we do the following:

1. Open Excel
2. Launch our Excel application which opens an Excel file in the same Excel session. Our application creates it's own menu and also removes the toolbars.
3. Close our Excel application by using the small X to close the window or use File - Close.
4. It then brings us back to a blank gray Excel screen.
5. We try to launch our Excel application again and receive the message above.

Any ideas why this may be happening? In our application in the BeforeClose event, we restore the toolbars and also restore the user's menu items. I tried commenting out the code that does that because I thought that may be the problem, but when I comment it out, the problem still occurs.