XL5: GP Fault in VBA.DLL on Exit After Saving to Floppy Drive

Last reviewed: March 28, 1997
Article ID: Q111906
The information in this article applies to:
  • Microsoft Excel for Windows, versions 5.0, 5.0c

SYMPTOMS

In Microsoft Excel, if you save a workbook that contains a Visual Basic module to a floppy disk, and then remove the floppy disk from the disk drive, if you then save the file with the same filename to another drive, you receive the following error message

   File already exists

and then the following error message:

   Document not saved

When you quit Microsoft Excel, you receive a general protection (GP) fault in module VBA.DLL.

CAUSE

In Microsoft Excel version 5.0, OLE objects, pivot tables, and Visual Basic modules require the use of data on the file that contains them. This means that when you use these objects in a workbook, the file that contains this workbook must be available when you choose the Save or Save As command on the File menu. In general, when you work with a file containing one of these objects on a floppy drive, you should keep the floppy disk in the drive while the file is open.

NOTE: This problem does not occur in Microsoft Excel for Windows NT version 5.0.

WORKAROUND

After you save a workbook that contains a Visual Basic module to a floppy drive, to avoid receiving these error messages, make sure the floppy disk that contains the workbook file is still in the drive before you save the file to another drive.


Additional query words: 5.00 gpf
Keywords : kbbuglist
Version : 5.00 5.00c
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.