Attach to running Word Action(Power Automate Desktop)

Japanese version.

This action is to use a Word document that is already open in Word.

Launch Word Action is a similar action for using an unopened Word document.

Attach to running Word is used to manipulate an Word document that has been left open or
Word document that has been opened by another mechanism.

How to use.

Drag Attach to running Word from Excel onto the Workspace.

Set parameter.

This action will cause an error if it targets an Word document that is in a closed state.

Also, while Launch Word allowed for options such as read-only,
This action is dependent on the state of the book since it is already open. Therefore, there are no options available.

Parameters

Document name

Specify the file to be opened in one of the following ways.

When specifying variables, Display select file dialog Action is used. The main case would be for the tool user to select a file.

Variables produced

WordInstance

This variable is used to specify the Excel book opened in the subsequent action.

Basically, you can leave it as is, but if you have multiple documents open, change the name to indicate what kind of document it is.

On Error

Error handling is performed as needed.

Detects errors that prevent opening a Word document for some reason.

For those who want to learn Power Automate Desktop effectively


The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Desktop to streamline your workflow.

Links

Word Actions.