Microsoft KB Archive/122059

{|
 * width="100%"|

XL5 Err Msg: GP Fault in Module SDM.DLL

 * }

-

The information in this article applies to:


 * Microsoft Excel for Windows, version 5.0
 * Microsoft Excel for Windows, version 7.0

-

SYMPTOMS
When you run a Microsoft Excel version 4.0 macro (.XLM macro) that calls a Microsoft Excel version 4.0 dialog box that contains option buttons, you may receive the following error message:

EXCEL caused a General Protection Fault in module SDM.DLL at xxxx:xxxx.

where xxxx:xxxx is a memory address.

CAUSE
This error message occurs when, in the dialog box definition table, there is an invalid type in an option button group section of the table. Note that option button groups always start with a type value of 11.

Example
The first column of the dialog box definition table contains the following information:

11 Option button group

12 Option button

45 Invalid table number

12 Option button The number 45 is an invalid item type for a dialog box definition table. Valid number types are from 1 to 24. In this example, a valid number would be 12, which is an option button.

RESOLUTION
To correct this problem, remove or correct the invalid code in the table.

STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been corrected in Microsoft Excel for Windows version 5.0c.

Additional query words:

Keywords :

Version : 5.00 5.00c 7.00

Platform : WINDOWS

Issue type :

Technology :