See Also
Description
Searches code in the project for the specified text and replaces it with new text.
Dialog Box Options
Option Description
Find What Type the text you want to search for. If any text is selected when you choose the command, this text is displayed in the text box. If no text is selected, the word at the current insertion point is displayed.
Replace With Type the new text.
Search Current Procedure Searches only the current procedure.
Search Current Module Searches only the code in the current module.
Search All Modules Searches all the code in your project.
Syntax Checking On Checks the syntax after making the replacement.
Match Whole Word Only Searches for the full word by itself and not as part of another word.
Use Pattern Matching Searches using pattern matching characters.
Verify Confirms before replacing the search text with the replacement text.
Replace All Replaces all occurrences of the search text with the replacement text without stopping for confirmation. If a syntax error is found while the Syntax Checking option is selected, the search ends after the error is found, and possibly before any text has been replaced.
Cancel Closes the dialog box without replacing text.
If you select the Verify box, Visual Basic displays a message when the search text is found asking you to confirm that you want the text replaced.
Yes Replaces the selected text, then continues the search.
No Continues the search without changing the selected text.
Cancel Cancels the search.
Help:
Find, Find Next, Find Previous Commands (Edit Menu)
Replacing Text in Code
Programmer's Guide:
Chapter 9, "Debugging"