Excel.SearchDirection enum

検索の方向を指定します。

注釈

[ API セット: ExcelApi 1.9 ]

// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/42-range/range-find.yaml

searchDirectionToggle = searchDirectionToggle === Excel.SearchDirection.forward ? Excel.SearchDirection.backwards : Excel.SearchDirection.forward;
console.log("Search direction = " + searchDirectionToggle);

フィールド

backwards = "Backwards"

逆順で検索します。

forward = "Forward"

順方向に検索します。