User functions in sheets

Does OnlyOffice macros support creating user functions that could be referenced in cells?

I mean that we write, for example function MyFunc(){} and call it in formula like

=MyFunc()

Hello @necrasoff

Macros use the JavaScript syntax and ONLYOFFICE Document Builder API scripting notation to operate. As of now macros cannot create custom functions that would be available in formula bar via =, only direct input via macros context.

With version 8.1 of ONLYOFFICE Docs and Desktop Editors such possibility will be implemented with method AddCustomFunction. Stay tuned for the updates.

1 Like

Thanks!

Great, that would mean that OO will be one more solution in advanced cloud scripting)

1 Like