A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hi @Dariusz Biskupski ,
I will recommend you to use graph api to edit Excel file. Here is the example to refer
const options = {
authProvider,
};
const client = Client.init(options);
const workbookTableRow = {
values: "[
[1, 2, 3],
[4, 5, 6]
]"
};
await client.api('/me/drive/items/{id}/workbook/tables/Table1/rows')
.version('beta')
.post(workbookTableRow);
You can add rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows.
Here is the document for more details
https://learn.microsoft.com/en-us/graph/api/table-post-rows?view=graph-rest-1.0&tabs=http
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.