Excel users are used to build custom functions-called user-defined functions (UDFs)-in Windows and Mac versions of the application. UDFs can be simply written in Visual Basic Editor (VBE) using the Visual Basic for Applications (VBA) language. UDFs are not portable to Excel Online and Excel for iOS due to the missing VBA capability on these platforms. Therefore, Microsoft has improved the JavaScript API that was already being used for Office add-in development to allow developers to create custom functions attached to the add-ins. These custom functions can be used like any other native functions or UDFs in Excel. While Microsoft calls these functions JavaScript custom functions, they can also be called JavaScript UDFs, which is the name used in this book. This book shows the process of creating JavaScript UDFs in Excel in Developer Preview for Office Insider program subscribers.
"After twenty-five comfortable years of writing VBA in Excel, the writing is on the wall: A new language is coming to Excel developers. Starting in May 2018, User-Defined-Functions written in JavaScript will run cross-platform. What you write for Excel for Windows will also work in Excel Online. JavaScript is a new thing for those of us comfortable with VBA. This book will get you up to speed on writing and deploying JavaScript UDFs."