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 / Process takes too long...
Power Automate
Unanswered

Process takes too long to complete

(0) ShareShare
ReportReport
Posted on by 1

I have process which reads a excel file and loop though each row of that excel and update that row to another excel and create update the word template from reading the new excel. In my process I'm coping the word template for each row and for the updation i have used a Run VB Script action. my problem is to run this process it takes a considerable amount of time. for 35 rows it takes around 20 min to complete. what can i do to improve the performance of this process

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Banuka , I am not sure whether you can try LINQ here. LINQ is the fastest way to process all the excel data in small time itself.

    check out the link below

    https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/language-features/linq/introduction-to-linq

     

    Regards,

    Nived N

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I don't know everything about your process, but it sounds like everything can be done in Excel and Word VBA, which should take no time at all.  If all the word documents are the same, I would bypass the Word VBA, and simply use a MailMerge system which fills in different fields of identical documents using an excel file.

    Ultimately, the more VBA and data manipulation you can do outside of your PAD will extremely speed up your process.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 211 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 190

Last 30 days Overall leaderboard