set_cell_style
Apply custom formatting to a specified cell range in an Excel file, setting fonts, colors, alignment, borders, and number formats.
Instructions
Apply formatting to a range of cells.
Args: path: Path to the .xlsx file, or the name of a preloaded file. Omit if only one file is configured. sheet: Sheet name. cell_range: A1-style range, e.g. "A1:D1". style: Keys among: bold, italic, font_size, font_color (hex RGB, e.g. "FF0000"), bg_color (hex RGB), horizontal, vertical (alignment), border ("thin", "medium", "thick", ...), number_format (e.g. "#,##0.00").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| sheet | Yes | ||
| style | Yes | ||
| cell_range | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||