Finding and Replacing Text

You can easily search for text, formats, or special items such as paragraph marks and graphics by using the Find command. The following is the basic procedure for using this command to conduct a search in Word:

  1. If you want to limit the search to within a specific block of text, select the text.
  2. Choose Find from the Edit menu, or press Ctrl+F to display the Find tab of the Find And Replace dialog box. (See Figure 6-9.)
  3. If you want to perform a search using the options you set the previous time you used the Find command, proceed to step 4. If, however, you want to set one or more search options, click the More button to display the options—if they aren't already displayed—and select the ones you want. (See Figure 6-10.) The search options are summarized in Table 6-4. (If you want Word to search only within the block of text you selected in step 1, you must select Down or Up in the Search list box. If the All option is selected, Word will search the entire document.)
  4. click to view at full size.

    Figure 6-9. The Find tab of the Find And Replace dialog box, without the search options displayed.

    click to view at full size.

    Figure 6-10. The Find tab of the Find And Replace dialog box, displaying all options.

    Table 6-4. Search Options on the Find Tab of the Find And Replace Dialog Box

    Find Dialog Box OptionEffect
    All (in Search list box)Searches entire document (from insertion point to end of docu- ment, and then from beginning of document down to insertion point), including headers, footers, comments, and footnotes.
    Down (in Search list box)Searches from insertion point (or start of selection) to end of document (or selection), excluding headers, footers, comments, and footnotes.
    Up (in Search list box)Searches from insertion point (or end of selection) to beginning of document (or selection), excluding headers, footers, comments, and footnotes.
    Match CaseSearches only for text that matches case of each letter in search text.
    Find Whole Words OnlyExcludes matching text that is part of another word (for example, if searching for cat, doesn't find catatonic).
    Use WildcardsAllows search text to include general symbols for matching text; for example, ?, which matches any character. To include these symbols in the Find What text box, click the Special button, and select from the pop-up menu. (For more information, look up wildcards in the Word online Help.)
    Sounds LikeSearches for all text that sounds like the search text. For example, if the search text is there, finds their as well as there.
    Find All Word FormsFinds all forms of the search text. For example, if search text is go, finds go, goes, gone, and went.

  5. If you want to search for text (that is, specific words or phrases), enter that text into the Find What box. (You can click the down arrow to select previous search text from a list.) To include a nonprinting character or other special feature in your search text (for example, a paragraph mark or a graphic), click the Special button, and choose the appropriate item. (If the Special button or other button mentioned in these instructions isn't visible, click the More button to reveal it.)
  6. If you want to search for a particular format or combination of formats, click the Format button, choose a formatting type, and specify the format in the dialog box that's displayed. Alternatively, if Word provides a key combination for applying a specific format (such as Ctrl+B for bold text or Ctrl+E for centered paragraph alignment), you can specify that format by pressing the key combination when the insertion point is within the Find What text box. (Formatting and the formatting key combinations are described in Chapter 7.)

    When searching for certain formats (such as bold or superscript text), you can search either for text that has the format, or for text that does not have the format. For example, you can select Bold (to search for text that is bold and meets other criteria) or Not Bold (to search for text that is not bold and meets other criteria), or you can select neither option (to search for text that meets other criteria whether it is bold or not). The formatting that you choose is displayed below the Find What box.

    NOTE
    If you specify a search format in a dialog box, a check box that has just a check mark means to find text that does have the format, an empty check box means to find text that does not have the format, and a check box that has a gray background and a check mark means the format isn't part of your search criteria. If you specify a search format using a key combination (for example, Ctrl+B for bold text), repeatedly pressing the key toggles between these three states (for example, Bold, Not Bold, and neither Bold nor Not Bold).

You can enter search text into the Find What text box and choose formatting. In this case, Word will search for text that matches your search text and has the specified formatting. To remove all your formatting specifications, click the No Formatting button.

  • Click the Find Next button to find each occurrence of the search text or formatting. Word will highlight the text it finds. You can edit your document while the Find And Replace dialog box is open; simply click the document when you want to edit it, and then click in the Find And Replace dialog box to continue searching. (If the Find And Replace dialog box is covering the text you want to edit, point to the title bar of the dialog box and drag the box out of the way.)
  • To close the Find And Replace dialog box, click the Cancel button.
  • After the dialog box is closed, you can continue to search for the same text or formatting using the keyboard. Each time you press Shift+F4, Word will search for the next occurrence of the text or formatting, moving in the direction you specified in the Find And Replace dialog box. Each time you press Ctrl+Page Down, Word will search for the next occurrence moving down in the document, and each time you press Ctrl+Page Up, Word will search for the next occurrence moving up in the document. You can also have Word search for the next occurrence moving either down or up in the document using the browse buttons at the bottom of the vertical scroll bar. These buttons are described later in the chapter (in the section "Using the Browse Buttons").

    You can find and replace text or formatting using the Replace command. Like the Find command, Replace allows you to search for text, formatting, or a combination of text and formatting. You can replace the text that is found, change its formatting, or both replace the text and change its formatting. The following are the basic steps. (See the previous list of steps in this section for more information on the steps that are common to finding and replacing text.)

    1. If you want to replace only within a specific block of text, select the text.
    2. Choose Replace from the Edit menu, or press Ctrl+H to display the Replace tab of the Find And Replace dialog box.
    3. If you want to perform a replace operation using the options you set the previous time you used the Replace command, proceed to step 4. If, however, you want to set one or more search options, click the More button to display the options—if they aren't already displayed—and select the ones you want. (See Figure 6-11.) These options are the same as those available on the Find tab and are summarized in Table 6-4. (If you want Word to search only within the block of text you selected in step 1, you must select Down or Up in the Search list box. If the All option is selected, Word will search the entire document.)
    4. click to view at full size.

      Figure 6-11. The Replace tab of the Find And Replace dialog box, displaying all options.

    5. If you want to search for particular text, type it in the Find What box. (You can click the down arrow to select previous search text from a list.) To include a nonprinting character or other special feature in your search text (for example, a paragraph mark or a graphic), click the Special button, and choose the appropriate item.
    6. If you want to search for a particular format or combination of formats, make sure that the insertion point is within the Find What box. Then click the Format button, choose a formatting type, and specify the format you want in the dialog box that is displayed. Alternatively, if Word provides a key combination for applying a specific format (such as Ctrl+B for bold text), you can specify that format by pressing the key combination when the insertion point is within the Find What text box. (Formatting and the formatting key combinations are described in Chapter 7.)
    7. If you want to replace the text that is found, type the replacement text in the Replace With box. To include a special character in the replacement text (such as a paragraph mark), click the Special button. Word will display only those special characters that are appropriate for replacement text.
    8. If you want to change the formatting of the text that is found, make sure that the insertion point is within the Replace With box, and choose the formatting you want, as described previously. Word will display the replacement format you have chosen below the Replace With box. Note that if you leave the Replace With box empty and don't choose replacement formatting, each block of text that is found will be deleted.
    9. SEE ALSO
      For information on choosing formatting, see Chapter 7, "Formatting a Word Document."

  • Either click the Replace All button to replace all occurrences of the text or formatting, without confirmation, or click the Find Next button to view and verify the first replacement.
  • If you clicked Find Next, Word will highlight the first matching text. You can now click Replace to replace the text or formatting and find the next occurrence, or you can click Find Next to leave the text unaltered and go on to the next occurrence. You can repeat this step until all text has been replaced, or you can click Close to close the dialog box and stop the process. (The Cancel button is labeled Close after the first replacement, reminding you that you can't cancel replacements that you've already made.) Recall that you can leave the Find And Replace dialog box displayed while you manually edit the document. (You might have to move the dialog box out of the way by dragging its title bar.)
  • TIP
    Reversing Your Replacements

    If you replaced all occurrences of text in your document by clicking the Replace All button on the Replace tab, issuing the Undo command immediately afterwards will reverse all these replacements at once. If you replaced occurrences one at a time by clicking the Replace button, the Undo command will reverse only your most recent replacement. (You can then repeat the Undo command to reverse previous replacements.)



    Running Microsoft Office 2000 Small Business
    Running Microsoft Office 2000
    ISBN: 1572319585
    EAN: 2147483647
    Year: 2005
    Pages: 228
    Authors: Michael Halvorson, Michael J. Young
    BUY ON AMAZON

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net