Tutorial

Getting Started with Macros

Macro Editor

User Interface

Menus and Toolbar

Editing Macro Statements

Expression Editor

Macro Debugging

How To

Using variables

Finding and modifying objects

Creating new page content

Asking for user input

Storing persistent data

Using binary data

Sorting objects

Macro menus

Bulleted and numbered lists

Sample Macros

Concepts

Expressions

Objects

Properties

Variables

Data Types

Arrays

Functions

Literals

Operators

Comments

Last updated on: March 19, 2023
Also available as a single HTML file

Onetastic Macro Documentation > Page Objects > Table

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

For

ForEach

If

Else If

Else

Switch

Case

Default

While

Expression

Comment

Break

Continue

Return

Hierarchy Objects

NotebookRoot

Notebook

SectionGroup

Section

Page

Page Objects

Title

Outline

Table

Column

Row

Cell

Paragraph

Text

Image

EmbeddedFile

Tag

Other Objects

DialogBox

MacroMenu

Window

Functions

Array Functions

Color Functions

Data Store Functions

Date/Time Functions

Dialog Box Functions

Macro Execution Functions

Macro Menu Functions

Object Functions

String Functions

Window Functions