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

Table Object

Description

Represents a table in a OneNote page.

Hierarchical Structure

Table objects can be found under following objects: Paragraph

Table objects can contain following objects: Row Column

Creating Table Objects

Table objects can be inserted directly under following objects: Outline Cell

Properties

Name Type Access Description
author String read-write The original author of this Table.
authorInitials String read-write The initials of the original author of this Table.
bordersVisible Bool read-write Whether the borders of this Table is visible or not.
colCount Numeric read-only The number of columns in this Table.
columns Array<Column> read-only The list of Columns in this Table.
creationTime DateTime read-write The date and time this Table is originally created.
lastModifiedBy String read-write The person who last modified this Table.
lastModifiedByInitials String read-write The initials of the person who last modified this Table.
lastModifiedTime DateTime read-write The date and time of the last modification to this Table.
objectId String read-write The unique identifier of this Table.
rowCount Numeric read-only The number of Rows in this Table.
rows Array<Row> read-only The list of Rows in this Table.
selection Selection read-write Whether this Table is fully or partially selected or not.
type ObjectType read-only Type of this object. Always has the value of "Table".

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