BUG: "Invalid Excel File Format" with IMPORT CommandID: Q110411 The information in this article applies to:
SYMPTOMSYou receive the "Invalid Excel File Format" error message when you are importing a Microsoft Excel version 5.0 file into FoxPro. NOTE: In FoxPro 2.0 for MS-DOS, you will get the error message "Invalid Excel version 2.0 file" when you are importing worksheets in Microsoft Excel 3.0, 4.0, or 5.0 file format.
CAUSEWith each release of Microsoft Excel, the file format that Microsoft Excel uses has changed. FoxPro 2.0 can import only Microsoft Excel 2.0 files. FoxPro 2.5 for MS-DOS, Windows, and the Macintosh can import files in the Microsoft Excel 2.0, 3.0, and 4.0 formats. Microsoft Excel 5.0 was not released until after FoxPro 2.5 for MS-DOS and Windows were developed. FoxPro for Macintosh was developed at approximately the same time as Microsoft Excel 5.0 for Windows. Therefore, support for importing Microsoft Excel 5.0 format files was not built into FoxPro 2.5 for any platform.
RESOLUTIONThere are some workarounds to directly importing a Microsoft Excel 5.0 worksheet, all of which must be performed in Microsoft Excel. Two of these workarounds are:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
REFERENCESFoxPro for MS-DOS and Windows "Language Reference," version 2.5, pages L3-569 and L3-570 FoxPro for Macintosh "Language Reference," version 2.5, pages 468-469 Microsoft Excel "User's Guide 1," version 4.0, pages 60, 306, and 307 Additional reference words: FoxMac FoxDos FoxWin 2.00 2.50 2.50a 2.50b buglist2.00 buglist2.50 buglist2.50a buglist2.50b append errmsg err msg KBCategory: kbprg kbbuglist KBSubcategory: FxprgGeneral |
Last Reviewed: June 27, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |