Article ID: 813120 - Last Review: April 7, 2006 - Revision: 4.2 "Automation error: The object invoked has disconnected from its clients" error message in Excel 2000
SYMPTOMSWhen you run a Microsoft Visual Basic for Applications (VBA) macro to insert
a page break, you may receive the following error message: Run-time error '-2147417848 (80010108)': Automation error The object invoked has disconnected from its clients. Not enough
memory. Microsoft Excel for Windows has
encountered a problem and needs to close. We are sorry for the inconvenience.
CAUSEThis problem occurs because the HPageBreaks.Add object does
not check buffer size, and there is a mis-match between a large buffer size of
the DEVMODE structure of your default printer driver and the DEVMODE structure
of your Microsoft Excel workbook. RESOLUTION A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix. Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.The global version of this fix should have the following file attributes or later: Date Time Size File name ---------------------------------------------- 10-Feb-2003 23:29 1,701,152 Excel.msp 10-Feb-2003 23:54 4,316,764 Excel_admin.msp Date Time Version Size File name ---------------------------------------------------- 07-Feb-2003 10:48 9.0.0.7406 7,163,949 Excel.exe 326585
(http://support.microsoft.com/kb/326585/EN-US/
)
OFF2000: Overview of Office 2000 Service Pack 3 Additionally, you may have to install Windows Installer 2.0 to
install this fix. For additional information about the Windows Installer
requirement for post-Office 2000 SP-3 fixes, click the following article number
to see the article in the Microsoft Knowledge Base: 811002
(http://support.microsoft.com/kb/811002/EN-US/
)
OFF2000: Office 2000 Updates and Patches Released After November 2002 May Require Windows Installer 2.0 WORKAROUNDTo work around this problem, do one of the following before
you run the macro to insert a page break:
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
| Article Translations
|
Back to the top
