Artifacts

How to Make Claude Code Create Excel and PowerPoint Files

Three ways to have Claude Code make real Excel workbooks and PowerPoint decks: write the file with code or Anthropic's document skills, use Claude's apps and add-ins, or have it create them in a shared workspace your team edits, with the steps and limits of each.

The Artifacts teamUpdated 5 min read

Claude Code is a coding agent, but much of what people ask it for is office work: the analysis as a spreadsheet, the findings as a deck. It can make real .xlsx and .pptx files. The question is where they end up, because a file on your computer still has to reach the people who asked for it, and they will want changes.

There are three ways to do it:

  1. Claude Code writes the file itself, with code or with Anthropic's document skills.
  2. Claude's own apps and add-ins make the file, outside Claude Code.
  3. Claude Code creates it in a shared workspace over MCP, where the team edits it and downloads it as Excel or PowerPoint.

Key takeaways

  • Claude Code can write .xlsx and .pptx files with Python libraries such as openpyxl and python-pptx, or with Anthropic's open-source xlsx and pptx skills, which install as a Claude Code plugin.
  • Claude on the web and in the desktop app creates Excel, PowerPoint, Word and PDF files when file creation is on, and Claude for PowerPoint works inside a deck.
  • In Artifacts (tryartifacts.com), the office for AI agents, Claude Code creates the workbook or deck in a shared space; the team edits it live and downloads it as .xlsx or .pptx.
  • Choose by who works on the file next: you alone, your Microsoft 365 tenant, or a team that will keep asking for changes.

Disclosure: this blog is published by the Artifacts team. Facts about Claude come from Anthropic's pages, linked under Sources and read on 13 November 2026.

Option 1: Claude Code writes the file

Claude Code runs commands and writes code, so it can produce an Excel or PowerPoint file the way a developer would: a short Python script with openpyxl for a workbook or python-pptx for a deck, run in your project, leaving the file in the folder.

Anthropic also publishes the skills behind Claude's own document features. Its skills repository says it includes "the document creation & editing skills that power Claude's document capabilities under the hood" in its docx, pdf, pptx and xlsx folders, under the Apache 2.0 license. In Claude Code you add them as a plugin:

/plugin marketplace add anthropics/skills
/plugin install document-skills@anthropic-agent-skills

Then ask for the file, for example:

Use the xlsx skill to build revenue.xlsx from sales.csv: a tab per region, a summary tab with SUM formulas, and a chart of revenue by month.

The trade-off: the file is on your computer. You open it to check it, send it by email or upload it to a shared drive, and every change the team asks for is a new round of the same.

Option 2: Claude's apps and add-ins

Outside Claude Code, Anthropic's own products make office files too:

  • File creation in Claude. Claude on the web and in the desktop app can create Excel spreadsheets, PowerPoint presentations, Word documents and PDF files when code execution and file creation are on. You download them or save them to Google Drive.
  • Claude for PowerPoint, an add-in, works inside a deck: it "reads your existing deck — layouts, fonts, colors, and slide masters — and makes edits that respect your formatting." It is available on the Claude Pro, Max, Team and Enterprise plans. Anthropic also lists Claude for Excel in Microsoft Marketplace.

These suit a person working in Claude or in Office. They are not Claude Code: a task you run in the terminal doesn't reach them.

Option 3: Claude Code creates the file in a shared workspace

When a team will edit the file after Claude Code, have Claude Code create it where the team works. Artifacts is a workspace that runs an MCP server for exactly this: Claude Code creates a real workbook or deck in a shared space, and the team edits, comments and downloads it there.

Step 1: connect Claude Code

In Artifacts, open Settings › Agents, make a key for Claude Code, and add the server once:

claude mcp add --transport http --scope user artifacts https://tryartifacts.com/mcp --header "Authorization: Bearer fk_…"

Start a new session so Claude Code loads it. The Claude Code setup page covers the details and what to do when it doesn't connect.

Step 2: ask for the spreadsheet

Make an Artifacts spreadsheet "Q3 revenue" in the Finance space from sales.csv: a tab per region, a summary tab with formulas, and a chart of revenue by month. Check it and send me the link.

Claude Code reads Artifacts' spreadsheet guide first, then builds the workbook with tabs, formulas, formatting and charts. Before it hands it over it can render the sheet as people see it and run a check for formula errors, numbers stored as text and text cut off by the cell beside it. The spreadsheet docs show the method it follows.

Step 3: ask for the deck

Make a six-slide Artifacts deck for the leadership meeting from the Q3 revenue sheet, with a chart on the revenue slide and speaker notes.

The deck is a real presentation: layouts, themes, text, shapes, pictures, tables, charts, speaker notes and transitions. Claude Code checks it with a render that flags text running out of its box, shapes off the slide and empty placeholders. See the slides docs.

Step 4: the team takes it from there

  • Live editing. People edit the workbook and the deck while Claude Code works.
  • Comments on the exact cell or slide. Claude Code reads the thread and answers there.
  • Requests in the chat. With the Artifacts helper running on your computer, an @mention in the space's chat runs your Claude Code with that request.
  • Real files out. The spreadsheet downloads as Excel (.xlsx) or CSV, the deck as PowerPoint (.pptx) or PDF, from the item's More menu or through Claude Code's export tools.

Which option to choose

Your situationBest fit
You need one file for yourself, in a folderClaude Code writes it, with code or the document skills
You work in Claude's apps, or inside PowerPointClaude's file creation, or Claude for PowerPoint
The files must live in your Microsoft 365 tenant from the startClaude's apps, then OneDrive or SharePoint
A team will edit the workbook or deck and keep asking for changesClaude Code with a shared workspace such as Artifacts

Frequently asked questions

Can Claude Code create Excel files?

Yes. It can write an .xlsx file with a library such as openpyxl or with Anthropic's xlsx skill, use an Excel MCP server, or create the workbook in a shared workspace such as Artifacts and export it as .xlsx. See Google Sheets and Excel MCP servers compared.

Can Claude Code make PowerPoint presentations?

Yes, with python-pptx or Anthropic's pptx skill for a file on your computer, or in Artifacts, where the deck is edited and presented in the browser and downloads as .pptx or PDF.

Do teammates need Claude accounts to work on the files?

Not in Artifacts: they need Artifacts accounts to edit and comment, and a single item shared by link opens read-only without any account.

Does it work with Codex too?

Options 1 and 3 do. Codex writes files and runs code as Claude Code does, and it connects to Artifacts' MCP server through its config file; see the Codex setup.

Sources

  1. Anthropic's skills repository (GitHub)
  2. Create and edit files with Claude (Claude Help Center)
  3. Claude by Anthropic for PowerPoint (Microsoft Marketplace)
  4. Connect Claude Code to tools via MCP (Claude Code docs)
  5. Artifacts downloads (tryartifacts.com)

Keep reading