Run Macro
Fill the WorkbookName position with custom internal name of your Excel file. Enter a name of the macro. Specify how long Wizlink will wait for the macro to finish (set the time in seconds in Max Execution Time parameter). If macro doesn't complete the action in given time - the activity will return False.
Activity does not provide for handling macro-triggered windows - the appearing window will stop the activity and set Result to False.
Acquired Text | String | Output | text input by user |
---|---|---|---|
Alternative Scenario If Failed | Boolean | Input | checkbox; default is "on" |
Display Name | Literal | Input | changes display name of the activity |
Exclude from Transaction Check | Boolean | Input | checkbox; default is "off" |
Macro name | String | Input | macro name |
Max Execution Time | Double | Input | maximum execution time; if exceeded, activity assumed to fail |
Workbook Name | String | Input | custom internal name Wizlink will use to identify the workbook |
Result | Boolean | Output | returns a Boolean value. True if no error in activity, otherwise will return False |
Result Code | Int32 | Output | Result Code will return 0 if there is no error in activity, otherwise in most cases will return 1. See the table of Extended Result Codes for more info |