Skip to main content
Glama

write_cells

Write values to Excel cells or ranges in live workbooks or .xlsx files without needing Excel installed. Supports single values, arrays, or 2D arrays while preserving existing content.

Instructions

Write values to a cell or range. Use "workbook" for live Excel, or "path" for a .xlsx file on disk (no Excel needed, preserves images/charts). Accepts a single value, a flat array, or a 2D array.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workbookNoOpen workbook name (live Excel)
pathNoFile path to .xlsx (no Excel needed)
rangeYesCell range (e.g. "A1" or "A1:B5")
valueYesValue(s) to write
sheetNoSheet name (default: active sheet)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kousunh/Excel-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server