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.

  • Automatically save changes of document before closing it 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 name for identifying a document from others, other document related instructions will use the name to select an open document rather than the path name of the document file.


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