---
layout: page
title: "Auto Fit Columns"
node_type: "lib.excel.AutoFitColumns"
namespace: "lib.excel"
---

**Type:** `lib.excel.AutoFitColumns`

**Namespace:** `lib.excel`

## Description

Automatically adjusts column widths to fit content.
    excel, format, columns

    Use cases:
    - Improve spreadsheet readability
    - Professional presentation

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| workbook | `excel` | The Excel workbook to format | `{"type":"excel","uri":"","asset_id":null,"data"...` |
| sheet_name | `str` | Target worksheet name | `Sheet1` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `any` |  |

## Related Nodes

Browse other nodes in the [lib.excel](../) namespace.
