Loading the documentation…

How Oda works in your workbook

DataMind Oda works on the workbook that is open in Excel. This page covers what Oda sees without asking, the steps it uses to read, search, list, write, copy, clear and format cells, the limits of each, and the overwrites and formulas it refuses. When Oda asks before a change is set by your permission mode; see Permission modes and approvals in Excel. To review or undo what Oda changed, see Review and undo Oda's changes. To bring a Mind's answer or a query's result into a sheet, see Ask about data and pull it into Excel.

What Oda sees with each message

When you send a message, the pane adds a short description of where you are in the workbook. It holds no cell values: Oda reads the cells it needs with the steps on this page.

The selection goes with your message through the selection chip at the top of the message box, which you can remove for one message; see Selection, citations and questions.

Your edits since Oda's last reply

While the pane is open, it notes what you change in the workbook and passes it to Oda with your next message. Oda builds on your edits and does not write its earlier values back over them.

Reading cells

Oda reads up to 10 ranges of one sheet in one step, by address such as A1:D20, whole columns such as A:C or rows such as 1:1, on the sheet you are on or on a named sheet. The step row reads Reading cells, then how many cells it read, such as 120 cells read.

Reading many rows as CSV

To analyse many rows, Oda reads the values of a range as comma-separated text. The step row reads Reading cells as CSV, then the size it read, such as 500 rows × 8 columns.

Searching the workbook

Oda finds cells by their text: on one sheet, in one range, or on every sheet, hidden sheets included. The step row reads Searching the workbook and the text it looks for, then the number of matches, such as 14 matches.

Listing the workbook's objects

Oda lists what the workbook holds besides cell values, sheet by sheet: tables, charts, pivot tables, defined names, shapes and pictures, slicers, conditional formatting and data validation with the cells they cover, comments, notes, and protected sheets and workbook structure. The step row reads Listing the workbook’s objects, then the count, such as 24 objects, or 200 of 340 objects when there are more.

Writing cells

Oda writes cells of one sheet in one step: values, formulas, number formats, notes, fonts, fills, borders, and column widths or row heights. The step row reads Writing cells with Oda's short description of the change, then Wrote and the range. When a formula it wrote shows an error, the row reads, for example, Wrote Sales!B2:D9; 2 formulas show an error.

Before Oda replaces your data

A write or copy step never replaces or empties a cell that holds a value or a formula unless that is what you asked for. When your message asks to change those very cells, such as Update B4:B9 or Set the discount rate to 8%, Oda goes ahead. Otherwise the step stops before it changes anything, and its row reads Oda stopped before replacing cells that hold data, to check with you first. Oda then tells you what the cells hold, with links to them, and asks whether to replace them, insert rows or columns for the new data, write somewhere else or stop.

Copying cells

Oda copies cells as copy and paste does: everything, only the formats, only the values, which turns formulas into their results, or only the formulas, also to another sheet. It can skip blank source cells and turn rows into columns. The step row reads Copying cells with the source and the destination, then Copied to and the range.

Clearing cells

Oda clears the contents of a range (values and formulas), its formats, or both. The step row reads Clearing cells, then Cleared and the range.

Formatting cells

Oda formats one range at a time: font, colour, size, bold, italic, underline and strikethrough, fill, alignment, wrapping, indent, number format, borders, a cell style such as Good, Input or Total, column widths and row heights, fitting widths or heights to the contents, and merging or unmerging cells. The step row reads Formatting cells, then Formatted and the range.

Sheets, tables, charts and more

Beyond cells, Oda changes the structure of the workbook and the objects in it. Each has a page of its own:

How Oda builds in your workbook

Formulas Oda does not write

Oda refuses any formula that can reach outside the workbook: send its data over the internet, run another program or code, or read files on your computer or network. The refusal applies in every permission mode, including Skip all permissions, and nothing is written for that step. The step row reads Oda does not write formulas that can reach outside the workbook., and Details names the cell and the reason.

RefusedWhy
Functions that reach the web or data feeds, such as WEBSERVICE, FILTERXML, IMAGE, HYPERLINK, STOCKHISTORY and STOCKSERIESThey can send workbook data out of Excel or load content from the internet. A link goes into a cell as plain text instead.
Functions that reach other programs, add-ins or code, such as RTD, CALL, REGISTER.ID, EVALUATE and the cube functions such as CUBEVALUEThey can run code or pull data from outside the workbook.
AI and translation functions: COPILOT, TRANSLATE and DETECTLANGUAGEThey send cell contents to a service outside the workbook.
Python in Excel: PYIt runs Python code in Microsoft's cloud on the cells it refers to.
INDIRECTIt builds references from text, which can reach other workbooks. Oda uses INDEX, CHOOSE or XLOOKUP instead.
INFO, and CELL with an info type such as "filename"They reveal details of your computer, such as your folders. CELL with an info type that describes the cell itself, such as "address", "contents" or "row", is allowed.
Excel 4.0 macro functions, such as GET.CELL, GET.WORKSPACE, EXECUTE, RUN, FILE.DELETE and SEND.KEYSThey can read your files, windows and settings, or run commands. A defined name with the same spelling, such as Input, stays usable; only a call such as INPUT(...) is refused.
The DDE operator, a vertical bar between a program name and a topicIt calls another program.
References to other workbooks, such as [Budget.xlsx]Sales!A1, a file path or a web addressThey read files outside this workbook.
References to a sheet name the workbook does not haveExcel reads such a name as another workbook.

The check also catches a refused function passed to another function as a value. Text in quotes, sheet names and table and column names never count as a function.

The same check covers everything else that holds a formula or a reference: what a defined name refers to, conditional formatting and data validation formulas and lists, a table column's formula and new table rows, and the cells a chart or a pivot table reads.

What Oda cannot do in the workbook

Questions, answered

Can Oda see everything in my workbook?

With each message it gets the sheet you are on and your selection, and with a chat's first message an outline of the sheets and tables. It reads cell values only when a step needs them.

Does Oda know what I changed since its last reply?

Yes, while the pane is open. Your next message carries up to the 20 most recent changes: edited cells, inserted or deleted rows and columns, sorting, formatting and sheet changes. Changes made while the pane was closed are not seen, so Oda reads the cells again.

How many cells can Oda read at once?

At most 2,000 cells and 40,000 characters in one read, cut at a whole row. The step row says when more is left, and Oda reads the rest in further steps. A CSV read holds up to 5,000 rows a page.

Why did Oda read fewer cells than the range I named?

Oda reads only the part of a range that falls inside the area of the sheet that holds data. Naming A:C reads the filled rows of those columns, not the whole sheet.

Why did Oda stop before writing into my cells?

The cells hold values or formulas that your message did not ask to change. The step row reads Oda stopped before replacing cells that hold data, to check with you first. Answer Oda's question in the chat: replace them, insert rows or columns for the new data, write somewhere else, or stop.

How many cells can Oda write or copy at once?

At most 50,000 cells per write, or 10,000 cells named one by one, and 500,000 cells per copy.

Why did Oda refuse to write a formula?

The formula could reach outside the workbook: a function such as WEBSERVICE, HYPERLINK, INDIRECT or RTD, an Excel 4.0 macro function such as GET.CELL, the DDE operator, or a reference to another workbook. The step row reads Oda does not write formulas that can reach outside the workbook., and Details names the cell and the reason. Ask for the values themselves, or for a formula that uses other functions.

Can Oda put a clickable link in a cell?

No. HYPERLINK is one of the functions Oda refuses, so a link goes into the cell as plain text.

Can Oda tell me what my workbook holds besides data?

Yes. Ask, for example, What charts and pivot tables does this workbook have?. Oda lists the tables, charts, pivot tables, names, shapes, rules, comments and notes sheet by sheet, with the cells they cover.

Why does Oda say Excel is waiting for me to finish editing a cell?

You are typing in a cell, and Excel does not accept changes from add-ins until you finish. Press Enter or Esc, then ask Oda to try again.

Can Oda run code or macros from my workbook?

No. Oda never runs macros or code from a workbook or a file you attach, it cannot add macros, and text in a cell can never become a script. It can write and run its own Office.js code or Python for a task, where they are on, and every change that code makes is checked and approved like Oda's other changes; see Office.js code in Excel.