Reputation: 395
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
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
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