Excel.SearchDirection enum

Specifies the search direction.

Remarks

[ API set: ExcelApi 1.9 ]

Examples

// 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);

Fields

backwards = "Backwards"

Search in reverse order.

forward = "Forward"

Search in forward order.