This is documentation for Mathematica 5, 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.x / Notebooks /

NotebookFind

FilledSmallSquare NotebookFind[notebook, data] sets the current selection in the specified notebook object to be the next occurrence of data.

FilledSmallSquare NotebookFind[notebook, data, Previous] sets the current selection to be the previous occurrence.

FilledSmallSquare NotebookFind[notebook, data, All] sets the current selection to be all occurrences.

FilledSmallSquare NotebookFind[notebook, data, dir, elems] searches the elements of cells specified by elems.

FilledSmallSquare NotebookFind returns $Failed if the search it performs finds no occurrence of data.

FilledSmallSquare notebook must be a NotebookObject, as returned by NotebookOpen, etc.

FilledSmallSquare data can be a string, box expressions, or a complete cell.

FilledSmallSquare The possible elements are:

FilledSmallSquare The default for elems is CellContents.

FilledSmallSquare Unless the option setting AutoScroll->False is given, the front end will scroll a notebook so that the result of NotebookFind is visible.

FilledSmallSquare The front end will also usually highlight the region corresponding to the result.

FilledSmallSquare See Section 2.11.3.

FilledSmallSquare See also: NotebookLocate, SelectionMove, NotebookOpen, Find.

FilledSmallSquare New in Version 3.