Apply Table Style
apply_table_styleApply a built-in Excel table style to a named table in an open workbook. Select workbook, sheet, table, and style to update formatting instantly.
Instructions
Apply a built-in table style.
Args: workbook: Workbook name or path (None = active workbook). sheet: Worksheet name (None = active sheet). table_name: Table to style (required). style_name: Built-in style name, e.g. "TableStyleMedium2", "TableStyleLight9", "TableStyleDark3".
Returns: JSON confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | ||
| workbook | No | ||
| style_name | No | TableStyleMedium2 | |
| table_name | No |