---
title: "Format Cells"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/lib/excel/formatcells
markdown: https://docs.nodetool.ai/nodes/lib/excel/formatcells.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/lib/excel/formatcells.md
---

# Format Cells

**Type:** `lib.excel.FormatCells`

**Namespace:** `lib.excel`

## Description

Applies formatting to a range of cells.
    excel, format, style

    Use cases:
    - Highlight important data
    - Create professional looking reports

## 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` |
| cell_range | `str` | Cell range to format (e.g. 'A1:B10') | `A1:B10` |
| bold | `bool` | Make text bold | `false` |
| background_color | `str` | Background color in hex format (e.g. 'FFFF00' for yellow) | `FFFF00` |
| text_color | `str` | Text color in hex format | `000000` |

## Outputs

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

## Related Nodes

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