infinitydlimit
infinitydlimit

Reputation: 79

Creating a new sheet programmatically using Office JS

Is there an API which can help to create a new sheet programmatically through an Excel Add In using Excel JS?

Upvotes: 1

Views: 384

Answers (1)

Michael Saunders
Michael Saunders

Reputation: 2668

Use the add method on the WorksheetCollection object:

https://dev.office.com/reference/add-ins/excel/worksheetcollection#addname-string

Upvotes: 3

Related Questions