Search and Replace Shortcut Keys, Visual Basic 6.0 Default Shortcut Option

The following shortcut key combinations can be used with the Find, Replace, Find in Files, and Replace in Files dialog boxes.

Command

Shortcut Keys

Description

Edit.Find

CTRL + F

Displays the Find dialog box.

Edit.FindNext

F3

Finds the next occurrence of the previous search text.

Edit.FindNextSelected

CTRL + F3

Finds the next occurrence of the currently selected text in the document.

Edit.FindPrevious

SHIFT + F3

Finds the previous occurrence of the search text.

Edit.FindPreviousSelected

CTRL + SHIFT + F3

Finds the previous occurrence of the currently selected text, or the word at the caret.

Edit.GoToFindCombo

CTRL + SHIFT + F

Places the caret in the Find/Command line on the Standard toolbar.

Edit.HiddenText

ALT + F3, H

Selects or clears the Search Hidden Text option for the Find dialog box.

Edit.IncrementalSearch

CTRL + ALT + I

Starts Incremental search. If Incremental search is started but you have not typed any characters, recalls the previous pattern. If text has been found, searches for the next occurrence.

Edit.MatchCase

ALT + F3, + C

Selects or clears the Match Case option for Find and Replace operations.

Edit.RegularExpression

ALT + F3, + R

Selects or clears the Regular expression option so that special characters can be used in Find and Replace operations.

Edit.Replace

CTRL + H

Displays the Replace dialog box.

Edit.ReplaceinFiles

CTRL + SHIFT + H

Displays the Replace in Files dialog box.

Edit.ReverseIncrementalSearch

CTRL + SHIFT + ALT + I

Changes the direction of Incremental search to begin at the bottom of the file and progress towards the top.

Edit.StopSearch

ALT + F3, + S

Halts the current Find in Files operation.

Edit.Up

ALT + F3, + B

Selects or clears the Search Up option for Find and Replace operations.

Edit.WholeWord

ALT + F3, + W

Selects or clears the Match whole word option for Find and Replace operations.

Edit.Wildcard

ALT + F3, P

Selects or clears the Wildcard option for Find and Replace operations.

See Also

Tasks

How to: Work with Shortcut Key Combinations

Reference

Text Navigation Shortcut Keys, Visual Basic 6.0 Default Shortcut Option

Text Selection Shortcut Keys, Visual Basic 6.0 Default Shortcut Option

Text Manipulation Shortcut Keys, Visual Basic 6.0 Default Shortcut Option

Other Resources

Visual Basic 6.0 Default Shortcut Keys