Overview
Macros plugin allows creating your own macros, scripts that help you automate your routine tasks and standardize documents. ONLYOFFICE macros use JavaScript language syntax and ONLYOFFICE Document Builder API scripting notation.
Key features:
Create your own macros using Document Builder API documentation.
Rename, edit, remove available macros.
Available for text documents, spreadsheets and presentations.
The plugin is pre-installed in ONLYOFFICE ONLYOFFICE Workspace Enterprise, ONLYOFFICE Workspace (Document Server + Community Server), ONLYOFFICE Docs Enterprise, ONLYOFFICE Cloud, and ONLYOFFICE Personal.
How to use
- Choose Macros from the Plugins tab.
- Search for the necessary macro or create a new one using API documentation.
- Click Run.
How to use VBA-based macros in ONLYOFFICE
Macros written in Visual Basic won’t be compatible with ONLYOFFICE. You can rewrite your old macros to make them work in ONLYOFFICE.
Use our API documentation to learn how to convert macros.