You cannot run VBA macros created in Microsoft Word in MyOffice Text. But you can view the code of the VBA macros contained in the document and rewrite them in Lua language.
To view and rewrite the VBA macro code, follow these steps:
1.Open the .docm document.
2.Select the Lua macro with the name of the VBA module that contains the required VBA macro. For example, if the VBA macro Macro1 is contained in the VBA module Module1, select the Lua macro Module1. To select a Lua macro, do one of the following:
•On the Macros tab, click
Macro editor. In the Macro editor window, select the required Lua macro.

•On the right sidebar, click
Macros. In the Macros pane, hover the mouse cursor over the name of the required Lua macro, click the
button and run the Edit command.

3.The Macro editor window will display the code of the VBA macros that are contained in the corresponding VBA module. Rewrite the code of the required VBA macro in the Lua language.
4.Close the Macro editor window.
5.Save the document in .docx format using the Save as command.
Changes made are not saved in the original .docm document.