跳到主要内容

XlSearchOrder

Range search order - by rows or by columns.

Type

Enumeration

Values

  • "xlByRows"
  • "xlByColumns"

Example

This example specify that the whole text match will be searched in the range.

let searchRange = range.Find( { What: "200", After: oWorksheet.GetRange("B1"), LookIn: "xlValues", LookAt: "xlWhole",	SearchOrder: "xlByColumns", SearchDirection: "xlNext", MatchCase: true } );