ACC: How to Import a Word Table Containing Carriage Returns (167103)
The information in this article applies to:
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q167103 Moderate: Requires basic macro, coding, and interoperability skills.
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.
REFERENCES
For additional information about importing files that contain carriage
returns, please see the following articles in the Microsoft Knowledge Base:
153373 ACC: Importing Fixed-Width Text with Embedded Carriage
Returns
149946 ACC: Text Import Wizard doesn't Import Data Correctly
For more information about importing Microsoft Word tables into Microsoft
Access, please see the following article in the Microsoft Knowledge Base:
141700 ACC95: How to Import Microsoft Word Tables Using OLE
Automation
Modification Type: | Major | Last Reviewed: | 5/9/2003 |
---|
Keywords: | kbhowto kbinterop KB167103 |
---|
|