OfficeDev / OfficeDev/office-js-docs-reference

What is the result of a call to Range.find() when the searched text is not found?

Open
#1,785 8 comments 0 reactions 1 assignee View on GitHub

@alison-mk is already working on this.

Since Jan 4, 2024.

Area: Excel Type: doc request
Dominant language
TypeScript
Stars
153
Forks
72
Avg merge
2d 23h
Merged PRs (30d)
22

Description

Hello MIcrosoft Team,

I'm using the find method to look for text and seeing a RichApi.Error with code ItemNotFound.

Is that the expected behavior when the specified text is not found?

Thanks in advance!


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.