Error Merging when Data File Is Microsoft Excel CSV or TextLast reviewed: February 5, 1998Article ID: Q96921 |
The information in this article applies to:
SUMMARYIn Microsoft Word, if you use a Microsoft Excel file saved in the CSV or Text file format for the data file in a print merge document, you may receive one of the following error messages during the merge if the last column in the data file does not contain data in at least every 16th record:
Word Version 2.0 ---------------- There are fewer fields in record <N> than mergefields in header record. Do you want to continue with the Print Merge? Where <N> is the number of the first record of a 16-row block of records in which the last column contains no data. Word Version 1.x ---------------- Number of fields does not match number of names in record N. Continue with Print Merge? Where <N> is the number of the first record of a 16-row block of records in which the last column contains no data. WorkaroundsTo work around this problem, do one of the following:
MORE INFORMATIONIn Microsoft Excel, if you save a file in Text or CSV format, Microsoft Excel places tabs or commas between each column of the worksheet. However, if the cells in the last column contain no data, the extra comma or tab indicating the blank field for that record is stripped off when the file is saved. Microsoft Excel saves text files in 16-row blocks. Therefore, if all the cells in the last column in a 16-row block are empty, Microsoft Excel saves that area as if the column did not exist. No tabs or commas are saved for that 16-row block of cells.
|
KBCategory:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |