/plugin-macros

Macros plugin allows creating JavaScript macros to run in your documents

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Information

This repository is an archive of plugin-macros. Now it moved to the marketplace repository onlyoffice.github.io.

Overview

Create 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.

You can add your own macros to documents, edit and save them.

How to use the plugin

  1. Open the Plugins tab and press Macros.
  2. Click “New” and consult the API documentation to write the necessary script.
  3. Enter your script code and click “Run” to run it within the document.

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.