format_border
Apply border formatting to a range of cells in an Excel workbook. Set style, color, and sides for selected cell ranges.
Instructions
Apply border formatting to a range of cells.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workbook_path | Yes | Path to the Excel workbook | |
| sheet_name | Yes | Name of the worksheet | |
| range_ref | Yes | Range to format (e.g., 'A1:B10') | |
| style | No | Border style ('thin', 'medium', 'thick', 'double') | thin |
| color | No | Hex color code for border | |
| sides | No | Which sides to apply border to (['top', 'bottom', 'left', 'right']) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||