Skip to main content

Insert table

Insert a table built from a Data Table (header row first) at the end, after a marker text or at a bookmark, optionally with a table style.

Command in the Word toolkit · id ooa.word/add_table · 8 inputs (1 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
TableTableYesData to insert.
SessionStringNowordSession name.
Include headerBooleanNotruePut the column names in a bold first row.
After textStringNoInsert after the paragraph containing this text; at the end when empty.
BookmarkStringNoInsert after the paragraph holding this bookmark; used when after_text is empty.
StyleStringNoTable style id defined in the document, e.g. TableGrid.
TitleStringNoAlternative-text title of the table, read by screen readers (Word: Table Properties > Alt Text > Title).
Alt descriptionStringNoAlternative-text description of the table (Word: Table Properties > Alt Text > Description).