XL: Rich Text Formatting Is Lost When You Use Replace All

ID: Q177194

The information in this article applies to:

SYMPTOMS

If you use the commands in the Replace dialog box to find and replace text in a worksheet, some cells may lose their text formatting.

CAUSE

This problem occurs if the following conditions are true:

When this problem occurs, Microsoft Excel removes the rich text formatting from the cell.

RESOLUTION

If you click Replace All, you cannot prevent Microsoft Excel from removing rich text formatting from cells in which you replace text.

However, you can use Find Next to find each cell that contains the text you specify in the Find What box. After you find the cell, click Replace to replace the text in only that cell. If Microsoft Excel finds a cell that uses rich text formatting, click Close, manually edit the cell, and then click Replace on the Edit menu to resume the process.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

MORE INFORMATION

You can apply rich text formatting to a cell in Microsoft Excel by following these steps:

1. Select the cell and start editing the cell, by double-clicking the cell

   or by clicking the formula bar.

2. Select the text that you want to format. On the Format menu, click
   Cells.

   The Font tab is displayed in the Format Cells dialog box that appears.

3. Change the font.

   For example, make the font bold or increase the font size.

4. Click OK. Then, press ENTER or RETURN (on a Macintosh computer) to
   enter the changes.

You can also select the text in the cell and use the tools on the Formatting toolbar to apply different fonts, font sizes, and so on, to the selected text.

Additional query words: XL5 XL7 XL97 rtf

Keywords          : xlformat 
Version           : MACINTOSH:5.0,5.0a,98; WINDOWS:5.0,5.0c,7.0,7.0a,97
Platform          : MACINTOSH WINDOWS
Issue type        : kbprb

Last Reviewed: January 8, 1999