Power Automate: run an excel script for specific days

To run automatically an excel script based on days, most known as office script, is a simple workflow with 2 actions only. Usually, I will use one of those 2 options:

power automate

For my explanation, I will take the second option “scheduled cloud flow”:

power automate

Once I click on “create”, I get this window then I will click on “recurrence”:

power automate

The configuration panel will appear letting me to change the time zone, by changing it, I need to adjust the hour of the “start time” from 10 to 8 since there are 2 hours of difference between UTC and CET:

power automate

NOTE: by default, the time zone is UTC, this is the reason why I need to adjust the start time

I will click on the “+” to add a new step. In the “search” field, put “run script” to select this option:

power automate

Fill all fields and it is done:

power automate

NOTE: the script can run even if the sheet of the excel file is hidden but it can’t be protected

Interesting Topics