XL: Text Import Wizard Maximum Row Limitation of 32767Last reviewed: March 27, 1997Article ID: Q119770 |
5.00 5.00c 7.00 7.00a 97
WINDOWS
kbother
The information in this article applies to:
SYMPTOMSIn Microsoft Excel, if you specify a number in the Start Import At Row box in the Text Import Wizard, and the beginning row number that you specify is a value greater than 32767, you may receive the following error message.
In Microsoft Excel versions 5.x and 7.x: Number is not valid. In Microsoft Excel 97: Your entry cannot be used. An integer or decimal number may be required. WORKAROUNDSTo work around this problem, follow the appropriate procedure below for your version of Microsoft Excel.
Versions 5.x and 7.x -- Importing Text Files with Fewer than 49,151 RowsThe maximum number of rows in a Microsoft Excel 5.0 or 7.0 worksheet is 16,384. If you open a text file with 16,384 rows or fewer, all rows of the text file will be imported into one worksheet. However, if you attempt to import more rows in a text file than are available in the worksheet, only 16,384 rows of the text file will be loaded, and you will receive the following error:
File Not Loaded CompletelyIf your worksheet contains more than 16,384 but fewer than 49,151 rows, you can use the Text Import Wizard to import the text file into multiple worksheets using the following steps:
Version 97 -- Importing Text Files with Fewer than 98,303 RowsThe maximum number of rows in a Microsoft Excel 97 worksheet is 65,536. If you open a text file with 65,536 rows or fewer, all rows of the text file will be imported into one worksheet. However, if you attempt to import more rows in a text file than are available in the worksheet, only 65,536 rows of the text file will be loaded, and you will receive the following error:
File Not Loaded CompletelyIf your worksheet contains more than 65,536 but fewer than 98,303 rows, you can use the Text Import Wizard to import the text file into multiple worksheets using the following steps:
Importing Larger Text FilesIf your text file is too large to import using the Text Import Wizard as described earlier, you will need to create a macro to import your text file that determines the size of the text file and breaks it up into individual worksheets. For an example of a Visual Basic for Applications macro that accomplishes this, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q120596 TITLE : "XL: Importing Text Files Larger Than 16384 Rows" |
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |