format_alignment
Apply horizontal and vertical alignment, text wrapping, and rotation to a range of cells in an Excel workbook.
Instructions
Apply alignment 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') | |
| horizontal | No | Horizontal alignment ('left', 'center', 'right') | |
| vertical | No | Vertical alignment ('top', 'center', 'bottom') | |
| wrap_text | No | Enable text wrapping | |
| text_rotation | No | Text rotation angle (0-180) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||