How to run 'global' macro from another workbook

OS version: win 10
App version: 8.2.2.22 (x64 exe)
Downloaded from: ONLYOFFICE website

Perhaps I just haven’t found the concept of global macros in documentation, or this is a feature suggestion. The result desired is to maintain a single copy of macro code, like custom function code, that can be accessed from other workbooks.

My current understanding is that if I want to use “Macro1” written in workbook A, that macro must be manually copied to all other workbooks where I’d like to use it.
Doesn’t this create a challenge to maintaining code? Am I missing the obvious?

A simple use case: User has hundreds of workbooks, each with non-contiguous ranges with a variety of “light green” fillcolors. User would like to apply a single “standard light green” fillcolor to target ranges in each of the workbooks, without having to copy the macro to each individual workbook.

[Edit] On further reflection, I’ll bet plugins might be the answer to ‘global’ macros.

Hello @Dario_BCS

This is correct. If you want to reuse the same functions in the editor along all documents, then you should develop a plugin which will perform those functions. The plugin will be available on the editor level, whereas macro is quite limited to be used on the document level.