Nate Rush
Nate Rush

Reputation: 395

Running Excel Javascript API without opening Excel?

Is it possible to run code from the Excel Javascript API without opening Excel? I'm not looking to use this in a server context, I'd just like to be able to run a Javascript script that interacts with the document from the command line.

Thanks for any input, it's greatly appreciated!

Upvotes: 1

Views: 316

Answers (2)

David Chesnut
David Chesnut

Reputation: 66

You might want to check into Working with Excel in Microsoft Graph which has a JavaScript SDK. See Microsoft Graph SDKs overview for more info.

Upvotes: 0

Rick Kirkham
Rick Kirkham

Reputation: 9674

Sorry, but this cannot be done. The Office JavaScript Library cannot initialize without getting information from a containing Office app, in which the JavaScript engine is embedded.

Upvotes: 1

Related Questions