This documentation is archived and is not being maintained.

XlSearchOrder Enumeration 

Specifies the order in which to search the range.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

Dim xlSearchOrder1 As XlSearchOrder = XlSearchOrder.xlByColumns

Public Enum XlSearchOrder
public enum XlSearchOrder
public enum XlSearchOrder

Member nameDescription
xlByColumnsSearches down through a column, then moves to the next column.
xlByRowsSearches across a row, then moves to the next row.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms