range.find: find next match in an excel table, using office-js

142 Views Asked by At

I'm trying to create a small Excel script lab example that finds all matches of a search string within a selected range. However, unlike VBA, the range.find() method does not appear to have a way to find the next match?

1

There are 1 best solutions below

1
On

A new range instance is returned from the call to the find method. Going to the next cell you could start anew with a new range.