Microsoft KB Archive/292084

= The &quot;Select All&quot; or &quot;Select Text with Similar Formatting&quot; commands do not work as expected in Word =

Article ID: 292084

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Word 2002 Standard Edition
 * Microsoft Office Word 2003

-



This article was previously published under Q292084



SYMPTOMS
When you select text that has a particular style applied, and then click either Select All in the Styles and Formatting task pane or Select Text with Similar Formatting on the shortcut menu that appears after you right-click the selected text, Microsoft Word selects all text containing that style, regardless of any additional formatting that may be applied to the text.



CAUSE
This behavior is by design of Microsoft Word. Word selects all of the text in your document that contains the base style of the selected text. This behavior occurs because Word assumes that you want to make changes to all text in your document that contains this base style. Therefore, Word selects all of the text in your document that contains the base style, including text that has additional formatting applied over this style.

For example, when you select text that has the Heading 1 style applied, and then click Select All in the Styles and Formatting task pane, Word selects all of the text in your document that has the Heading 1 style applied -- including text that has additional formatting applied that uses alternate fonts, colors, indenting, bolding, italics, underlining, and so on.



WORKAROUND
To work around this behavior, use one of the following methods.

Method 1: Select Each Text Instance by Holding Down CTRL
To make changes to multiple sections of text, hold down CTRL, and then select each section of text that you want to change. When you have done so, apply the formatting changes that you want.

NOTE: Word now allows you to make non-contiguous text selections.

For more information about selecting text, click Microsoft Word Help on the Help menu, type select text in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

275969 WD2002: Cannot Select Non-Contiguous Text with the Keyboard

Method 2: Separately Select Text with Similar Formatting
To make changes to all text with similar formatting, select the first occurrence of the formatted text that you want to change. Then, use one of the following methods:
 * Right-click the selected text, and then click Select Text with Similar Formatting on the shortcut menu that appears.

-or-
 * 1) In the Styles and Formatting task pane, click the Show box, and then click Formatting in use.

The format of the selected text should be selected in the Pick formatting to apply list.
 * 1) Move the pointer over the selected item in the Pick formatting to apply list.
 * 2) Click the arrow that appears to the right of the selected format, and then click Select All   Instance(s), where   indicates the number of instances the formatting occurs in the document.



MORE INFORMATION
NOTE: When you select text that has a base style applied along with additional formatting, and you then click either Select All in the Styles and Formatting task pane or Select Text with Similar Formatting, Word selects only the text that includes that additional formatting.

For example, when you select text that has the Heading 1 style and the color red applied, and then click Select All in the Styles and Formatting task pane, Word selects all of the text in your document that has the Heading 1 style and the color red applied. Word does not select text in your document that has the Heading 1 style but does not have the color red applied.

Additional query words: prb WD2002 WD2003

Keywords: kbprb KB292084

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.