跳到主要内容

XlSearchOrder

区域搜索顺序 - 按行或按列。

类型

枚举

  • "xlByRows"
  • "xlByColumns"

示例

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

// How to search a text indicating search order.

// Find a text from a range with column wise search order.

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