Connect an Open Document

Connects to an open document for reading or writing.


  • Find method Specifies how to find the open document. It can be one of the following:

    • Connect one of running instances by name
    • Connect one of running instances by full name
    • Connect first of running instances
    • Connect instance in foreground window
    • Connect document in parent task
  • Find what Specifies the document name or full path name for searching for.

  • Show application window Specifies wether to show application window.

  • Close document after playback With the option checked, the application will be closed after playback.

  • Save changes before closing document Specifies whether to save the changes before closing the document. The option is applied to the situation that there is no "Close Document" action after this action, otherwise, it depends on the option in the action "Close Document".

  • Document name Specifies a name for identifying a document from others, and other document related actions would use the name to reference the instance of the document.


  • To open a Microsoft Excel document, Microsoft Excel program must be present in the computer before playing a macro.