XlSearchDirection enumeration (Excel)

Specifies the search direction when searching a range.

Name Value Description
xlNext 1 Search for next matching value in range.
xlPrevious 2 Search for previous matching value in range.

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.