This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / Notebooks  /

  • NotebookFind[ notebook , data ] sets the current selection in the specified notebook object to be the next occurrence of data.
  • NotebookFind[ notebook , data , Previous] sets the current selection to be the previous occurrence.
  • NotebookFind[ notebook , data , All] sets the current selection to be all occurrences.
  • NotebookFind[ notebook , data , dir , elems ] searches the elements of cells specified by elems.
  • NotebookFind returns $Failed if the search it performs finds no occurrence of data.
  • notebook must be a NotebookObject, as returned by NotebookOpen, etc.
  • data can be a string, box expressions, or a complete cell.
  • The possible elements are:
  • The default for elems is CellContents.
  • Unless the option setting AutoScroll->False is given, the front end will scroll a notebook so that the result of NotebookFind is visible.
  • The front end will also usually highlight the region corresponding to the result.
  • See the Mathematica book: Section 2.10.3.
  • See also: NotebookLocate, SelectionMove, NotebookOpen, Find.