Microsoft recently announced a developer preview release supporting JavaScript to create custom functions directly in Excel. This addition moves beyond the existing Microsoft Office JavaScript API, which is limited to building add-ins or web applications that interact with the object models in Office host applications.
By Dylan Schiemann