Comma in Quoted Text Causes Conversion to Two Columns in Table (89831)
The information in this article applies to:
- Microsoft Word for Windows 1.0
- Microsoft Word for Windows 1.1
- Microsoft Word for Windows 1.1a
- Microsoft Word for Windows 2.0
- Microsoft Word for Windows 2.0a
- Microsoft Word for Windows 2.0b
- Microsoft Word for Windows 2.0c
- Microsoft Word for Windows 6.0
- Microsoft Word for Windows 6.0a
- Microsoft Word for Windows 6.0c
- Microsoft Word for Windows 95
- Microsoft Word for Windows 95 7.0a
- Microsoft Word 97 for Windows
This article was previously published under Q89831 SUMMARY
In a Word for Windows comma- or tab-delimited document, when a quoted
text field contains a comma (used as punctuation), Word for Windows
breaks the quoted text into two columns when you convert it to a
table. The text to the left of the comma is placed in the first column
and the text to the right of the comma is placed in the second column.
This occurs because Word for Windows does not differentiate between
commas used as delimiters and commas used as punctuation.
When you convert such text to a table, you must merge the two columns
with the Merge Cells command.
WORKAROUND- In the comma-delimited data file, select all the data records.
- From the Table menu, choose Insert Table.
- To merge the two columns that contain the separated data, select
both columns and choose Merge Cells from the Table menu. Note that
Word for Windows inserts a paragraph mark in the text of the merged
columns.
- From the Edit menu, choose Replace. In the Find What box type ^p. In the Replace With box type , . Choose the Replace
All button.
- In the Find What box, type a quotation mark ( "). Clear the contents
of the Replace With box (it should be blank). Choose the Replace
All button. Choose the Close button.
REFERENCES
"Word for Windows User's Guide," version 2.0, pages 257-258, 265, 314-
318
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | kbmerge kbtable KB89831 |
---|
|