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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Run a flow in the midd...
Power Automate
Unanswered

Run a flow in the middle of a macro

(0) ShareShare
ReportReport
Posted on by 7

Hi

 

Hoping someone is able to help.

 

I have built a process where given some inputs, an excel macro is run which calls a specific flow, scrapes a load of data from a website, writes it to excel and calls another macro which then performs calculations with the data.

 

This all works fine - and the only reason it does is because my initial macro runs the flow and then ends, the flow then runs and the final macro is run as the last action in the flow. So the flow ends when the final macro finishes. This works for a single set of inputs.

 

What I'm trying to do now is to create a batch process where I can feed a list of inputs and get the process to loop through each set of inputs given. I've set it up so that the initial macro reads in the inputs for the first case, runs the flow and waits whilst the flow is running. Once the flow finishes, I want it to then perform the calculations using the data. Once this finishes, I want it to move on to the next set of inputs and repeat. 

 

The issue I have is - the flow cant seem to attach itself to a running instance of excel whilst the macro is running and waiting for the flow to finish. Is this normal? If so, is there any way around it?

I have the same question (0)

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 671

#3
Haque Profile Picture

Haque 551

Last 30 days Overall leaderboard