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



The information in this article applies to:

  • Microsoft Excel 2000

This article was previously published under Q317850

SYMPTOMS

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.

CAUSE

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.

RESOLUTION

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   9.0.0.6314  7,159,853  Excel.exe
				

STATUS

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).


Modification Type:MinorLast Reviewed:9/27/2005
Keywords:kbHotfixServer kbQFE kbOffice2000SP3Fix kbbug kbfix kbOffice2000preSP3fix KB317850