---
name: automating-desktop-spreadsheet-models-and-reports
description: "Drives desktop spreadsheet applications to refresh analytical queries, build pivot tables, calculate formulas, and add presentation charts in native workbooks. Use when a workbook task needs automated spreadsheet operations instead of manual entry."
license: CC-BY-4.0
compatibility: "Needs access to: Spreadsheet, Terminal."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-16"
  source: "https://botbento.com/usecases/automating-desktop-spreadsheet-models-and-reports/"
  kind: skill
  hermes:
    tags: ["spreadsheets", "automation", "reporting", "data"]
    category: ops
    requires_toolsets: ["file", "terminal"]
---
# Automating desktop spreadsheet models and reports

Build pivot tables, calculate formulas, and refresh data pipelines in native workbooks

## When to use

Drive desktop spreadsheet applications to refresh analytical queries, construct pivot tables, update complex formulas, and format presentation charts directly within native files without manual entry.

## Inputs

- `workbook_path`: Path or name of the native workbook file to open and update.
- `task_instructions`: What to do in the workbook, such as refresh queries, build pivot tables, or update formulas.
- `target_range` (optional): Worksheet, range, or data area the spreadsheet operation should act on.
- `chart_format_spec` (optional): Chart or formatting preferences for the presentation output.

## Steps

1. When you ask: Submit workbook task (Person asks in chat to refresh, model, or report on a workbook)
2. Run spreadsheet operations
3. View updated workbook

## Instructions

Interact with the local spreadsheet interface using the command bridge. Open requested workbooks, manipulate ranges, execute calculation models, and generate visual charts. Always request explicit user approval before saving destructive changes, overwriting existing worksheets, or running embedded macro scripts.

## Approvals

- Saving destructive changes to the workbook requires explicit user approval.
- Overwriting existing worksheets requires explicit user approval.
- Running embedded macro scripts requires explicit user approval.

## Output

Updated native workbook with refreshed data, pivot tables, formulas, and charts. (format: file)

## Source

Summarized in our own words from [mcp-server-excel: Automate real Microsoft Excel with AI via MCP Server or CLI — Power Query, DAX, VBA, PivotTables, charts, and 412 operatio](https://github.com/sbroenne/mcp-server-excel) (GitHub, checked 2026-10-16). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/automating-desktop-spreadsheet-models-and-reports/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
