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


gives information about selected cells in the notebook represented by the notebook object obj.
  • CellInformation can give information both about selections within cells, and cells selected as a whole.
  • CellInformation returns a list of rules which include information on cell styles, selection positions, and other features.
Assign a generated notebook object to a symbol:
Click for copyable input
The style of cells can be read directly from any notebook object with Developer`CellInformation:
Click for copyable input