Tutorial

Getting Started with Macros

Macro Editor

User Interface

Editing Macro Statements

Expression Editor

How To

Using variables

Finding and modifying objects

Creating new page content

Asking for user input

Sorting objects

Macro Logging

Sample Macros

Concepts

Expressions

Objects

Properties

Variables

Data Types

Arrays

Functions

Literals

Operators

Comments

Cell Object

Description

Represents a cell of a table in a OneNote page.

Hierarchical Structure

Cell objects can be found under following objects: Row

Cell objects can contain following objects: Paragraph Table

Creating Cell Objects

Cell objects can be inserted directly under following objects: Row

Remarks

Insert Table object under Cell object to create nested tables. Insert Paragraph object under Cell object to add text into the cell.

Properties

Name Type Access Description
author String read-write The original author of this Cell.
authorInitials String read-write The initials of the original author of this Cell.
colIndex Numeric read-only The number of Columns before the column this Cell is in.
creationTime DateTime read-write The date and time this Cell is originally created.
lastModifiedBy String read-write The person who last modified this Cell.
lastModifiedByInitials String read-write The initials of the person who last modified this Cell.
lastModifiedTime DateTime read-write The date and time of the last modification to this Cell.
objectId String read-write The unique identifier of this Cell.
paragraphs Array<Paragraph> read-only The list of Paragraphs in this Cell.
rowIndex Numeric read-only The number of Rows before the row this Cell is in.
selection Selection read-write Whether this Cell is fully or partially selected or not.
text String read-write The text of this Cell.
text_numeric Numeric read-write The text of this Cell interpreted as a numerical value. Useful to apply arithmetic operations on it.
type ObjectType read-only Type of this object. Always has the value of "Cell".

Reference

Statements

ForEach

If

Else

While

Expression

Comment

Break

Continue

Hierarchy Objects

NotebookRoot

Notebook

SectionGroup

Section

Page

Page Objects

Title

Outline

Table

Column

Row

Cell

Paragraph

Text

Image

EmbeddedFile

Tag

Other Objects

DialogBox

Functions

Array Functions

Date/Time Functions

Dialog Box Functions

Macro Execution Functions

Object Functions

String Functions