Run Macro in Document


Run a macro in the open Office document. The macro player will wait until the macro running is finished, and the user can not stop it from Macro Player side.

Parameters

  • Document name Specifies the document which should be saved.

  • Macro name The name of the macro to be run. If you are running a macro in a sheet or workbook, use sheet name and the macro name separated by a dot in the form: " sheetname. macroname".

Notes

  • The document must be opened by the instruction "Open Document" or "Create a Microsoft Excel Document" , or be connected by the instruction "Connect an Open Document" before this step.
  • Microsoft Excel program must be present in the computer before playing a macro which contains this action.