Replacing Text In The Visual Basic IDE

To invoke the Replace Dialog window click on the Replace toolbar button (or press the Ctrl+H keys).


Text To Find

Enter the text that you wish to search for.  Click on the button to display a menu of regular expression choices.  The expression you chose from this menu will be inserted into the find text.  Click on this link for more information about regular expressions.


Regular Expressions

Check this box if the text to find contains a regular expression.  If this box is not checked then any regular expressions will be interpreted as literal text. Click on this link for more information about regular expressions.


Text to replace with

Enter the text that you want to replace matching text with.


Where to search

Specify the scope of your search from the available options.


Direction to search

Specify the direction that you wish to search from where the cursor is currently located within the code module.


Options

Case Sensitive - whether ABCFind ignores letter-casing when looking for matching text.

Whole Word Only - if checked, only search for whole words that match the search criteria.

Include Comments - if checked, include commented code in the search scope.


Find Next

Click this button to find the next match.  The search will begin at the current cursor location.  The matching result, if any, will be added to the Search Results Window.


Once a match has been found, the Replace button will be enabled.  This will allow you to Replace the found text with the text specified in the 'Text to replace with' box.  If you do not want to replace the current text, then press the Find Next button again to skip this search result and find the next search result.


Find All

Click this button to find all text that matches the criteria.  The search will begin at the current cursor location.  All search results will be displayed in the Search Results Window.


Replace

Once a match has been found, the Replace button will be enabled.  This will allow you to Replace the found text with the text specified in the 'Text to replace with' box.  If you do not want to replace the current text, then press the Find Next button again to skip this search result and find the next search result.


After you have clicked this button the text has been replaced ABCFind will search for the next matching text automatically.


Replace All

Click this button to find all text that matches the criteria and replace these matches with the text specified in the 'Text to replace' with.  The search will begin at the current cursor location.  All search results will be displayed in the Search Results Window.

Copyright © 2002-2007, Atlantic Blue Computing Limited