A group of actions: Word


The action runs a macro in a Word-document, the VBA code of which is specified in a separate text file. To make it work, in the MS Word settings, set the checkbox «Trust access to the VBA project object model».

Action icon 

Settings 

Property Description Type Filling example Mandatory field
Parameters
ContextInstance of a Word document.Robin.WordWord contextYes
Macro PathPath to a macro text file that contains VBA code.Robin.FilePath
Yes
Procedure nameThe name of the function or subroutine to call that is specified in the macro’s VBA code.Robin.String
Yes
Input parameterValues of input parameters of the called function or subroutine. Parameters must be specified in the same order in which these parameters are specified in the called function.Robin.Collection
No
Results
ResultThe value returned by the running macro. If the specified macro does not return anything, the result of the action will be empty.Robin.Collection

  • Нет меток