Explorer.ClearSearch method (Outlook)

Clears results from a Microsoft Instant Search in an Explorer if results are displayed in the Explorer.

Syntax

expression. ClearSearch

expression A variable that represents an Explorer object.

Remarks

The functionality of this method is analogous to the Clear button in Instant Search.

If no search results are displayed in the Explorer, ClearSearch will not take any action. If the current view of the Explorer does not present a search view, ClearSearch will not raise an error.

See also

Explorer Object

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.