Power Automate: select a specific sheet in an excel file

To select a particular sheet, I will need to add 3 actions, the first one will be “excel get worksheets”:

power automate

Fill all fields:

power automate

Click on the “+” to add a new step then in the “search” field, put “apply each” to select this option:

power automate

Click on the field then on the “lightning” icon to select:

power automate power automate

Click on the “+” inside the “apply to each” then in the “search” field, put “condition” to select this option:

power automate

For the fields:

  • Click on the first “choose a value” field then on the “lightning” icon to select:
    power automate
    NOTE: for my example, I selected “name” but you can select another option
  • For the second “choose a value”, I put the name of my worksheet (case sensitive)

power automate

Then inside “true”, I just add an action, in this case, “excel run script” but you can add another type:

power automate

Interesting Topics