This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

NotebookLocate

NotebookLocate["tag"]
locates all cells with the specified tag in your current input notebook, selecting the cells and scrolling to the position of the first one.
NotebookLocate[{"file", "tag"}]
if necessary opens the notebook stored in file, then locates cells with the specified tag.
  • NotebookLocate sets the current selection to contain all cells with the specified tag.
  • If the cells are in closed groups, NotebookLocate will open all these groups.
  • NotebookLocate is used for following hyperlinks within one notebook or between notebooks.
Find the cell with the tag "t"; the notebook autoscrolls:
Find the cell with the tag "t"; the notebook autoscrolls:
In[1]:=
Click for copyable input
Create a notebook, then go to the cell tagged "t0":
Locate more than one cell with the same tag:
Cell tags identify a cell as a target for navigation controls:
A button to find the cell in this document with label "t":
When more than one cell has the target tag, you might only see the first one:
But an operation on the selected cells also acts on those you do not see:
New in 3