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.

Details

  • NotebookLocate[{File["file"],"tag"}] is also supported.
  • 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.
  • NotebookLocate searches for tags in the list given as the setting for the CellTags option of each cell.

Examples

open allclose all

Basic Examples  (1)

Find the cell with the tag "t"; the notebook autoscrolls:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input

Scope  (1)

Applications  (1)

Possible Issues  (1)

See Also

NotebookFind  NotebookOpen  SetSelectedNotebook  Button  Hyperlink

Tutorials

Introduced in 1996
(3.0)