Excel: Cell Alignment Formats Cause Flatfile Export to FailLast reviewed: July 16, 1997Article ID: Q89455 |
The information in this article applies to:
SUMMARYIn Microsoft Excel, exporting data from your spreadsheet to a text file with the Flatfile add-in macro (Flat File on the Macintosh) may fail if the selected range contains cells formatted with any of the following alignment formats: Fill, Justify, or Center Across Selection. Typically, one of the following symptoms results:
MORE INFORMATIONThe Flatfile add-in macro provides a means for exporting worksheet data to a text file using flat file format. Flat file format is a text format in which the data is separated by spaces rather than commas or tabs. You can also choose to retain the cell formatting of the exported data. Flatfile exports data using a fixed-width field. This means that any data that extends beyond the borders of the cell that contains it, is cut off at the whole number width of the cell. For example, from a cell with a column width of 12.5, only the first 12 characters are exported. Workarounds:
Workaround 1The easiest way to work around this limitation is to export from a copy of your spreadsheet that doesn't contain these alignment formats. To create a copy to export from:
Workaround 2You can modify the add-in macro file to make it compatible with the Fill, Justify and Center Across Selection alignment formats. To modify Flatfile to export without error:
REFERENCES"User's Guide 2," version 4.0, page 152
|
Additional query words: 3.0 3.00 4.0 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |