Select cells in Excel worksheet Action(Power Automate Desktop)

08/27/2023

Japanese version.

The "Select cells in Excel Worksheet" Action is used to activate (select) specific cell range on an Excel worksheet in Power Automate Desktop.

This action allows you to specify the cells you wish to activate. You may use this action to determine the active cell in an Excel file before performing any processing with a macro or Power Automate Desktop on the active cell.

Note that Excel must be installed with Power Automate Desktop in order to use this action.

BGM. Music by mubert.com

How to use

First, specify the target Excel file in Launch Excel Action or Attach to Running Excel Action  and drag Select cells in Excel worksheet Action from Excel to the Workspace.

Set parameters.

Parameters

Excel instance

Specify the target Excel file.

Specify the Variables produced for the Launch Excel Action or the Attach to running Excel Action.

Select

Specify the position of the cell range to be activated.

  • Range of cells
  • Range of cells relative to active cell
  • Names cells
Range of cells

Specify the start and end column and row numerically.

For example, specify the following.

ParameterValue
Start column2
Start row3
End culumn4
End row5

When executed, the result is as follows.

Range of cells relative to active cell

Specify how much to move from the currently active position.

Select up, down, left or right for the "X and Y-axis direction" and specify the number of cells to be moved for the "X and Y offset".

With B3 cell active, specify the following.

ParameterValue
X-axis directionRight
X Offset1
Y-axis directionBellow
Y Offset2

When executed, the result is as follows.

Names cells

Added in the August 2023 update.

Specified by the name of the named cell range.

Variables produces

It does not exist in this action.

On error

Error handling is performed as needed.

If a cell is incorrectly specified or If the selection fails for any reason, an error occurs.

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

Excel Actions

Examples of Use

How to delete multiple rows/columns in Excel.

Excel Filter