Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

OFF2000: "System Error &H80004005 (-2147467259)" Running Macro with UserForm


View products that this article applies to.

Symptoms

When you run or open a Microsoft Visual Basic for Applications macro with a UserForm, the following error message appears:
System Error &H80004005 (-2147467259). Unspecified error.
This may be followed by these error messages:
Out of memory
Run-time error 7. Could not find the specified object.

↑ Back to the top


Cause

This problem occurs when the following conditions are both true:
  • You add a Microsoft DirectAnimation Sprite control (daxctle.ocx) to a UserForm.
  • You run, show, or open the UserForm, or open a saved file with the UserForm.
These errors occur in Microsoft Excel, Microsoft PowerPoint, Microsoft Word, and Microsoft Access with a UserForm created in the Visual Basic Editor. The UserForm cannot be accessed to change it after these errors.

NOTE: If this control is added to an Access form separate from the Visual Basic Editor, the following error message may appear:
Microsoft Access can't communicate with the OLE server.
The OLE server may not be registered.
To register the OLE server, reinstall it.
This is followed by:
There is not enough free memory to update the display. Close unneeded programs and try again.
Closing that error removes the control from the Access form.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


More information

Because the UserForm cannot be opened after this problem occurs, the only remedy is to remove the UserForm in the Visual Basic Editor and not use this control on a replacement UserForm.

To remove a UserForm in the Visual Basic Editor, use the following steps:
  1. On the View menu, click Project Explorer.
  2. Click on the plus symbols for the project with the UserForm until the UserForm appears in the Forms folder, and then select the UserForm.
  3. On the File menu, click Remove UserForm<n> (where n is the UserForm number).
  4. If prompted with:
    Do you want to export UserForm<n> before removing it?
    click No.

↑ Back to the top


Keywords: KB230888, kbpending, kberrmsg, kbdtacode, kbbug

↑ Back to the top

Article Info
Article ID : 230888
Revision : 6
Created on : 10/11/2006
Published on : 10/11/2006
Exists online : False
Views : 315