Codumentor logo Codumentor

Working with Spreadsheets

The assistant can open, read, and edit Excel workbooks (.xlsx and .xlsm) as part of a conversation. Ask it to work on a spreadsheet in your repository and it can inspect the data, change values and formulas, restructure sheets, and save the result for you to download.

Asking the assistant to edit a spreadsheet

There's no separate spreadsheet editor panel — you ask for changes in plain language, the same way you'd ask for a code change, and the assistant opens the workbook and works on it as part of the conversation.

"Open budget.xlsx and update the Q3 totals in column D."

"In schedule.xlsx, add a new sheet called Summary that totals each region's numbers."

"Find every cell in inventory.xlsx that still says 'TBD' and replace it with 'Pending'."

You don't need to know any tool names or Excel internals — describe the outcome you want and the assistant figures out which cells, sheets, or formulas to touch.

What it can do

CapabilityWhat it does
Read structureList sheets, dimensions, named ranges, and defined tables
Read and searchRead a range of cells, or search across one sheet or the whole workbook
Write cells and rangesUpdate a single cell or write a block of values in one step; a value starting with = is treated as a formula
Restructure sheetsAdd, delete, or rename worksheets; insert or delete rows and columns
Find and replaceReplace text across the workbook, one sheet, or a specific range
FormattingSet number formats (currency, percentages, dates) and cell styles (font, fill, border, alignment)
Workbook propertiesSet metadata such as title, author, and description
Print settingsRead page setup, margins, and headers/footers
Advanced editsFor things the other capabilities don't cover — merging cells, charts, conditional formatting — the assistant can fall back to a small script run directly against the workbook

Multiple sheets, named ranges, and tables are all read and preserved. Macros in .xlsm files are kept when the file is saved, but the assistant does not run or edit them.

Formulas

Formulas are recognized by a leading = and can be written, read, and searched like any other cell value.

The assistant edits the file directly rather than running Excel's calculation engine, so it does not recalculate formulas itself. A formula you just added or changed may not show a computed value until the workbook is opened in Excel, LibreOffice, or a similar application that recalculates it.

Saving and downloading

Nothing is written back to disk until the assistant saves. When it does, a Spreadsheet saved card appears in the conversation with the file name, size, and a download link.

You can ask the assistant to edit the file in place, or to save the result to a new path and leave the original untouched. If you end the editing session with unsaved changes, the assistant either saves first or has to be explicitly told to discard them — it won't drop your edits silently.

Limits you should know about

This feature may not be available in all setups. If the assistant can't open or edit a spreadsheet for you, it may not be enabled by your administrator.

Like other actions the assistant takes, spreadsheet edits show up as transparent tool calls in the transcript — see What the Assistant Can Do. Editing a file inside your working directory, spreadsheets included, does not require a separate approval step; see Permissions for details.