web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Using Do Until

(0) ShareShare
ReportReport
Posted on by 10

How can I stop an automated flow on a specific time\date from adding data into an excel sheet and start in another excel sheet in the same workbook?

Screen Shot 2023-01-26 at 3.33.16 PM.png

Categories:
I have the same question (0)
  • srduval Profile Picture
    1,760 Moderator on at

    Start by using a convert timezone action, then convert UTCnow() from time zone UTC to your local time. Choose Month Day as the output format. 

     

    If you want to have only one excel action you can declare a string variable, and then you can dynamically set the table name..

     

    Now that flow knows what day of the month it is, you can setup a switch action. For the "on" clause you'll want to use your converted time output. then in each case put the month day value that you want it to switch to a new table name. Then in the action of the case you put the set variable action and type the name of the table you want to use. Once you have all your case statements defined, switch your table name in the excel action to be the custom value and choose your variable output. 

  • AhmedZakaria Profile Picture
    10 on at

    Hi!.... I am running the same flow (automated flow) to capture data from MS Forms and transfer it to excel. But I want to switch to another excel sheet after a specific date\time. e.g. at the end of the month (on January 31 at 12 midnight), I want the flow to direct the collected data from MS forms to another sheet (February) in the same excel file. I added a table in each sheet as well so that power automate can understand the output locationScreen Shot 2023-01-26 at 11.46.28 PM.png

  • AhmedZakaria Profile Picture
    10 on at

    Hello Sir @ScottShearer ! Can you help me please?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 173 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 95 Super User 2026 Season 1

Last 30 days Overall leaderboard