3 ms·
So my question is how this integrates with their online version of Excel? For example: I build some custom JS based functions in Excel and used them all over my
by gordon_freeman 8y ago
So my question is how this integrates with their online version of Excel? For example: I build some custom JS based functions in Excel and used them all over my spreadsheet then I upload it to OneDrive and trying to open it in online Excel form, will it work? That is key for someone like me who creates sheet offline but then wants to consume the data via online version.
- chatmasta 8y agoI think the answer to that is probably in the docs, but IIRC it’s possible as long as your JS code is hosted publicly with a valid cert. Not sure though, don’t quote me on that.
- toyg 8y agoAfaik the API is the same, if anything the online version gets updates earlier than installed counterparts. So yeah, it should work from the web too. There might be additional checks if you package your solution as a proper add-in (it might have to be enabled by an O365 admin).
- msaunders77 8y agoAs the PM for this feature I'm happy to answer that it works in Excel Online starting today in the developer preview! Right now developers have to sideload the add-in manually. But when the feature ships publicly, the add-in that has the custom JS functions will be deployed to a "catalog". The various Excel platforms (like Excel for Windows, Mac, and Excel Online) will all be able to access that catalog automatically to run the same functions because a pointer to the add-in gets persisted in the xlsx file. That's a little different from VBA UDFs, which get stored in the file itself. But one advantage of our new model is that it will be way easier for organizations to manage and maintain their JS functions, compared to VBA.
- jimnotgym 8y agoAs the PM can I beg you to look again at Python built in to replace VBA?
- govert 8y agoIt would be wonderful if it were possible to integrate with this 'pointer' mechanism in a custom way for .xll add-ins too, like those made in C/C++, .NET (with Excel-DNA), Python (with PyXLL) or D (with excel-d)? There's a huge ecosystem of Excel add-ins that could benefit by access to just a few of the hooks being build for the JavaScript support.