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».
Settings
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Instance of a Word document. | Robin.Word | Word context | Yes |
Macro Path | Path to a macro text file that contains VBA code. | Robin.FilePath | Yes | |
Procedure name | The name of the function or subroutine to call that is specified in the macro’s VBA code. | Robin.String | Yes | |
Input parameter | Values 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 | ||||
Result | The value returned by the running macro. If the specified macro does not return anything, the result of the action will be empty. | Robin.Collection |
Обзор
Инструменты контента