XL2000: Excel Stops Responding When You Run VBA Macro Code That Displays a User Form

Article translations Article translations
Article ID: 317850 - View products that this article applies to.
This article was previously published under Q317850
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all


If you run Microsoft Visual Basic for Applications macro code that displays a user form, you receive an access violation error message in Excel, and the program stops responding.


This problem may occur if you have a user-defined function that calls a user-defined form. For example, Sub A calls Function B. Function B displays a user form.


To resolve this problem, obtain the latest service pack for Microsoft Office 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
276367 OFF2000: How to Obtain the Latest Office 2000 Service Pack
The English version of this fix should have the following file attributes or later:
   Date         Time       Version    Size         File name     
   18-MAR-2002  10:23:36   N/A        1,862,480    Excel.msp
   18-MAR-2002  11:43:34   N/A        4,455,260    Excel_Admin.msp
After the hotfix is installed, the following files will have the listed attributes or later:
   Date         Time       Version     Size       File name     
   15-MAR-2002  19:17:16  7,159,853  Excel.exe


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

This problem was first corrected in Microsoft Office 2000 Service Pack 3 (SP-3).


Article ID: 317850 - Last Review: October 24, 2013 - Revision: 3.2
  • Microsoft Excel 2000 Standard Edition
kbnosurvey kbarchive kbhotfixserver kbqfe kboffice2000sp3fix kbbug kbfix kboffice2000presp3fix KB317850

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com