Macro: Create a Version for Version History List

Hello,

I would like to find out if there is a way to create a function in the spreadsheet editor that will create a version that could be restored if the entire macro operation needs to be undone.

I am looking for this functionality because I am working on a project that could contain up to 50 functions in one macro and having someone undo all of those changes individually, could take considerable time.

In short, is there a way to write a macro function that creates a version in the version history list that can be restored back to if necessary after the larger macro is completed?

Hello @qualm

Version History has nothing to do with macros. Please refer to how it works section on it: Document history | ONLYOFFICE

Directly answering your question: no, there is no way to create a macro that would create versions during its execution.