ACC2000: How to Import a Word Table Containing Carriage Returns (198919)
The information in this article applies to:
This article was previously published under Q198919 Moderate: Requires basic macro, coding, and interoperability skills.
For a Microsoft Access 2002 version of this article, see 290169.
SUMMARY
When you import a Microsoft Word table that contains carriage returns in its cells, the table is not imported correctly because Microsoft Access interprets each carriage return/line feed as a new record delimiter. To avoid this problem, you can surround the contents of the table cells with quotation marks so that the carriage returns are interpreted as part of the text in the cell, and not as the end of a record.
This article shows you how to export a Word table that contains carriage
returns into a tab-delimited text file that you can import into Microsoft Access.
REFERENCESFor additional information about importing files that contain carriagereturns, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
208404 ACC2000: Fixed-Width Text with Embedded Carriage Returns Is Imported Incorrectly
210057 ACC2000: Text Import Wizard Does Not Import Data Correctly
Modification Type: | Major | Last Reviewed: | 6/30/2004 |
---|
Keywords: | kbhowto kbinterop KB198919 |
---|
|