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

SetSelectedNotebook

SetSelectedNotebook[notebook]
makes the specified notebook be the currently selected one in the front end.
  • Setting a particular notebook to be the currently selected one typically makes it the top notebook displayed on the screen.
  • Making a notebook the currently selected one does not affect the current selection within that notebook, or within other notebooks.
New in 3