Space Between Fields When Table Converted to Text with Commas

ID: Q94353

The information in this article applies to:

SUMMARY

When you convert a Word for Windows table to text and separate the text with commas, Word adds an extra space after each comma.

MORE INFORMATION

Workarounds

1. Convert the table to text.

2. Select Separate Text With Tabs.

3. Use the Replace command on the Edit menu to replace the tabs with

   commas.

-or-

1. Convert the table to text.

2. Select Separate Text With Commas.

3. Use the Replace command to replace the comma+space combination with

   just a comma.

Steps to Reproduce Problem

1. From the Table menu, choose Insert Table.

2. Set Number Of Columns to 3, Number Of Rows to 1, and choose the OK

   button.

3. Type a word in each cell.

4. From the Table menu, choose Select Table.

5. From the Table menu, choose Convert Table To Text.

6. Select Separate Text With Commas and choose the OK button.

Result: Word inserts extra spaces, one after each comma separating the words. This will cause problems if the converted table is a Word for Windows data document used in a print merge, since the header record (first row in the data document) cannot contain any spaces.

KBCategory: kbusage KBSubcategory: kbtable Additional query words: 1.0 1.10 1.10a 2.0 2.0a 2.0a-cd 2.0b word6 winword 6.0 winword2 2.0c

Keywords          : kbtable 
Version           : 1.x 2.x 6.0 6.0a 6.0c
Platform          : WINDOWS

Last Reviewed: February 6, 1998