<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [mr-excel](./mr-excel.md) &gt; [excelToNode](./mr-excel.exceltonode.md)

## excelToNode() function

Converts an Excel file to a Node.

**Signature:**

```typescript
export declare function excelToNode(uri: string, queryForTable?: string | null, containerElement?: HTMLDivElement | null, config?: ExcelToNodeConfig): Promise<HTMLTableElement[] | "Done">;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

uri


</td><td>

string


</td><td>

The URI of the Excel file.


</td></tr>
<tr><td>

queryForTable


</td><td>

string \| null


</td><td>

_(Optional)_ The query selector for the table.


</td></tr>
<tr><td>

containerElement


</td><td>

HTMLDivElement \| null


</td><td>

_(Optional)_ The container element.


</td></tr>
<tr><td>

config


</td><td>

ExcelToNodeConfig


</td><td>

_(Optional)_ The configuration options.


</td></tr>
</tbody></table>

**Returns:**

Promise&lt;HTMLTableElement\[\] \| "Done"&gt;

{<!-- -->Promise<!-- -->&lt;<!-- -->HTMLTableElement\[\] \| "Done"<!-- -->&gt;<!-- -->} The result of the conversion.

