Data Loss Using Best Fit When Exporting with FLATFILE.XLALast reviewed: November 3, 1994Article ID: Q75658 |
The information in this article applies to:
SUMMARYMicrosoft Excel supplies an add-in macro (FLATFILE.XLA) that allows you to export data from a worksheet to a text file. If the columns containing the data have been sized using the Best Fit option, the exported data may be truncated in the text file.
MORE INFORMATIONThe FLATFILE.XLA add-in macro is located in the Excel\Library subdirectory. The Best Fit option is found in the Format Column Width menu choice and fits the column width to the length of the longest data string in the column. Note that although Microsoft Excel version 5.0 does not include the File Functions (FILEFNS.XLA) add-in macro (or the associated FILEFNS.DLL file), if you install Microsoft Excel version 5.0 without deleting the earlier version of Microsoft Excel (3.0 or 4.0), the FILEFNS.XLA add-in macro will still be available and will function normally (because the file is not deleted when you install version 5.0). The exported data is most likely to be truncated in the text file if the following conditions are true:
WORKAROUNDSTo avoid truncating text when you use the FLATFILE.XLA add-in, do the following:
REFERENCES"Microsoft Excel User's Guide," version 3.0, pages 676, 684
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |