Microsoft KB Archive/138824

= "Integer Divide By Zero" When You Start MS Excel =

Article ID: 138824

Article Last Modified on 8/17/2005

-

APPLIES TO


 * Microsoft Excel 95 Standard Edition
 * Microsoft Excel 5.0c

-



This article was previously published under Q138824





SYMPTOMS
When you attempt to start Microsoft Excel 5.x or 7.0, you may receive the following error message:

Integer Divide by Zero



CAUSE
This error message occurs when you start Microsoft Excel version 5.x or 7.0 on a system that has an ATI Mach64 video card driver (version 4.0) installed and you are running Microsoft Windows 95.



WORKAROUND
The following steps will allow you to use Microsoft Excel until you get an updated driver for Windows 95. Note that this workaround uses 16-color mode. If your program requires 256 colors, you may have difficulty running it. Use either of the following methods to resolve the problem. Method 1: Use the following steps to edit the System.ini file:  Shut down and restart Microsoft Windows 95. When the computer is restarting and flashes the "Starting Windows " message, press the F8 key. Choose the "Command Prompt" option. Type CD\ and press ENTER (where  is your windows directory). Rename the System.ini (give it a different file name). To do this, type the following at the MS-DOS prompt:

ren system.ini system.old

 Copy the system.cb file and give it the name system.ini. To do this, type the following at the MS-DOS prompt:

cd c:\windows<ENTER> copy system.cb system.ini<ENTER>

</li> In a text editor such as Windows Notepad, make the following changes to the new system.ini:

<ul> In the [boot] section, add the following lines:

mouse.drv=mouse.drv

drivers=mmsystem.dll

system.drv=system.drv

shell=explorer.exe

</li> In the [386 enh] section, add the mouse virtual device:

mouse=*vmouse, msmouse.vxd

</li> Restart the computer.</li></ul>

Microsoft Excel should work without the error.</li></ol>

Method 2: Microsoft provides an ATI Mach64 driver directly out of the box. To change to a Microsoft Windows 95 driver, use the following steps:
 * 1) Click the Start button on the Windows 95 taskbar, point to Settings, and click Control Panel.
 * 2) Double-click the Display icon, then click the Settings tab on the Display Properties dialog box.
 * 3) Click the Change Display Type button. In the Change Display Type dialog box, click the Change button in the Adapter section and choose the appropriate video card.
 * 4) Restart Windows.

NOTE: Do not try to change the video or resolution. Changing the video resolution writes the video information back to the System.ini file and the problem returns. If you need to change the resolution, use Control Panel as noted in Method 2, and return the system to standard VGA display. This method brings the system into a 16-color mode. When you use this mode, programs that require 256 colors may not run properly or may not run at all.

<div class="moreinformation_section">

MORE INFORMATION
The Mach64 video card is manufactured by ATI Technologies Incorporated, a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

Additional query words: 5.00c XL Err Msg

Keywords: kberrmsg kb3rdparty KB138824

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.