Insert table action
- Updated: 2025/10/14
Use the Insert table action to insert a new or existing table that contains data into a Word document at the current cursor position or at a specified bookmark.
Considerations
An error is displayed if one of the following conditions are encountered when you
deploy your automation to insert a table in a Word document:
- The session name that you have specified is invalid or does not exist.
- The data table variable that you have specified is empty, invalid or does not exist.
- If the specified bookmark name is invalid.
- The Word document is in the read-only format.
Settings
- Use the Session name field to specify the name of the
Word session where you want to insert the table from one of the following
options:
- Session name: Enter the name that you gave the session when you opened it.
- Variable: Select the variable that you have created to store the session name.
- Use the Table title to specify the name of the table for reference.
- Click the Insert position drop-down menu and select one
of the following positions in the Word document where you want to insert the
table:
- At current: Is the default option and inserts the table at the current cursor position.
- Bookmark: To insert the table at a specified bookmark.Enter the name of the bookmark in the field.Note: Ensure that you enter the correct bookmark name if you select this option.
- Select one of the following options:
- Table : To edit a data table that contains the data to be inserted.
- Variable: Enter the variable name that you have used for the data
table.
Click the Insert a value icon to create a data table variable.
- (Optional) Select the Include column headers check box to specify
whether the first row of your data must be treated as column headers.Note: The number of rows and columns that can be added depends on the maximum limit supported by Microsoft Word.