How does the user closing an Excel workbook trigger this error?

Responsive Ad Header

Question

Grade: Education Subject: Support
How does the user closing an Excel workbook trigger this error?
Asked by:
63 Viewed 63 Answers

Answer (63)

Best Answer
(279)
When a user closes an Excel workbook, the Excel application often terminates the connections to all open COM objects. If your VBA code is still referencing those objects, it will encounter the 'disconnected object' error when it tries to access them after the workbook is closed.