Load VBA code

Modified on Mon, 5 Oct at 1:54 PM

It is possible for us to make use of VBA codes. In this folder, you can see two examples:

...\SD.Installers\Z_AlloyPlugins\ModuleLibrary\VBA

CMD

<Cmd case="BaseExtensions:run-macro" macroName="xx" args="xx" />

With this command, BaseExtensions will run the macro.

Parameters

macroName

Define the macro name that BaseExtensions must run.

args

Define the argument/parameter.

Run Selected Macros (Word)

It is possible to present users with a list of available macros to select from, and then run selected macros.

CMD

<Cmd case="BaseExtensions:select-run-macros"/>

Only works in .docx documents.

mceclip0.png

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article