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

Examples

open allclose all

Basic Examples  (1)

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

Scope  (1)

Create a notebook, then go to the cell tagged "t0":

Locate more than one cell with the same tag:

Applications  (1)

Cell tags identify a cell as a target for navigation controls:

A button to find the cell in this document with label "t":

Possible Issues  (1)

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:

Wolfram Research (1996), NotebookLocate, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookLocate.html (updated 2021).

Text

Wolfram Research (1996), NotebookLocate, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookLocate.html (updated 2021).

CMS

Wolfram Language. 1996. "NotebookLocate." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/NotebookLocate.html.

APA

Wolfram Language. (1996). NotebookLocate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NotebookLocate.html

BibTeX

@misc{reference.wolfram_2022_notebooklocate, author="Wolfram Research", title="{NotebookLocate}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/NotebookLocate.html}", note=[Accessed: 08-August-2022 ]}

BibLaTeX

@online{reference.wolfram_2022_notebooklocate, organization={Wolfram Research}, title={NotebookLocate}, year={2021}, url={https://reference.wolfram.com/language/ref/NotebookLocate.html}, note=[Accessed: 08-August-2022 ]}