> For the complete documentation index, see [llms.txt](https://docs.lleverage.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lleverage.ai/external-apps-integration/microsoft-excel.md).

# Microsoft Excel

Microsoft Excel integration in Lleverage connects your workflows and agents to Excel workbooks stored in your Microsoft 365 account, so they can read and write spreadsheet data, maintain tables, and keep workbooks up to date automatically.

### How to Connect

1. **Go to Settings > Connections** in your project
2. **Pick Microsoft Excel** from the list of apps
3. **Choose which actions** the connection should allow and who should have access (shared or personal)
4. **Choose "Connect Now"** and sign in with Microsoft, or send an authentication link so a colleague can connect on your behalf

> 💡 If your Microsoft organisation requires administrator approval for new apps, the connect flow gives you an approval link to share with your Microsoft administrator.

### What Microsoft Excel Can Do

* **Workbooks and worksheets** - create workbooks, and create, rename, delete and list worksheets
* **Ranges** - read and write cell ranges, and find values within a range
* **Tables** - list and read tables, add, update and delete table rows, and find values within a table

> 💡 **Use case**: Append processed results to a shared workbook, look up reference data held in a table, or keep a report worksheet refreshed automatically.

### Important Considerations

* The connection works with workbooks the signed-in account can access in Microsoft 365
* Table actions are the most reliable way to add and update rows, because the table keeps the structure consistent
* Ranges use the familiar cell notation (e.g. A1:D10)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.lleverage.ai/external-apps-integration/microsoft-excel.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
