The specified region has been searched
When you click the Find Next and Replace buttons in the Replace dialog box, the total number of replacements isn't specified. This condition has the following cause and effect:
When doing a search and replace operation, you can specify the region to be covered: a selection, a procedure, a module, or a project.
If a region is selected, it is the default search region. If no region is selected, the current module is the default search region. To change the scope of a search, select a different option in the Replace dialog box.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.