WinWord: Replace Command Doesn't Change Table Formatting

ID: Q80612

The information in this article applies to:

SUMMARY

If you create a table that does not contain any text in Microsoft Word for Windows and then apply paragraph formatting to it, the Edit Replace command does not replace the formatting. Formatting in an empty table cell is retained in the end-of-cell marker rather than the paragraph mark. The Replace command identifies formatting contained only in text or paragraph markers.

To work around this problem, you can manually select the table and change the formatting characteristics.

MORE INFORMATION

Steps to Reproduce Problem

Word for Windows Version 2.0

1. From the File menu, choose New, and choose the OK button.

2. From the Tools menu, select Options. From the Category list, select

   the View icon, and select the Table Gridlines and All options. Choose
   the OK button.

3. Type some text in the document, and press ENTER.

4. From the Table Menu, choose Insert Table. Accept the default

   values, and choose the OK button.

5. Select the entire document by pressing CTRL+Keypad 5.

6. From the Format menu, choose Character, select Bold, and choose the

   OK button. The entire document has bold formatting.

7. From the Edit menu, choose Replace. In the Find What box, press the
   CTRL+B key combination to search for bold formatting. The word "Bold"
   appears below the selection box. In the Replace With box, press the
   CTRL+I key combination to replace with italic formatting. The word
   "Italic" appears below the selection box. Choose the Replace All
   button and then the Close button.

8. All of your text and paragraph marks now have italic formatting;
   however, if you type text within one of the blank table cells, the
   text has bold formatting.

Word for Windows Version 1.x

1. From the File menu, choose New, and choose the OK button.

2. From the View menu, choose Preferences. Select the Table Gridlines

   and Show All options. Choose the OK button.

3. Type some text in the document, and press ENTER.

4. From the Insert Menu, choose Table. Accept the default values, and

   choose the OK button.

5. Select the entire document by pressing CTRL+Keypad 5.

6. From the Format menu, choose Character, select Bold, and choose the

   OK button. The entire document has bold formatting.

7. From the Edit menu, choose Replace. In the Search For box, press
   the CTRL+B key combination to search for bold formatting. The word
   "Bold" appears below the selection box. In the Replace With box, press
   the CTRL+I key combination to replace with italic formatting. The word
   "Italic" appears below the selection box. Clear the Confirm Changes
   option, and choose the OK button.

8. All of your text and paragraph marks have italic formatting;
   however, if you type text within one of the blank table cells, the
   text has bold formatting.

This problem does not occur if text or paragraph marks previously exist in the table cell. Text or a paragraph mark provide a recognizable search item for the Replace command.

Reference(s):

"Microsoft Word for Windows User's Guide," version 2.0, pages 263-4

"Microsoft Word for Windows User's Reference," version 1.x, pages 289-90

KBCategory: kbusage KBSubcategory: kbformat Additional query words: winword2 winword word6 1.x 2.x 6.0 6.0a 6.0c

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

Last Reviewed: February 6, 1998