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 / Increasing "Delete Row...
Power Automate
Unanswered

Increasing "Delete Row" speed?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have created a bot that looks for line numbers in a certain column and deletes all rows that do not contain a %LineNumber% variable. It does this by scanning through all the rows, and adding the row numbers that do not contain %LineNumber% or 0 (as we want to preserve formulae) to a list, before reversing the list and finally looping through the list to delete rows. Problem is, the actual deletion of the rows takes a long time, seemingly because excel takes a while to actually delete the row. Is there anyway I can speed up this process? My flow runs at 1ms already.

  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    Row deletion might be faster through VBscript, but I don't know.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I agree...if it simply excel, use excel vba, and just have PAD run the vba.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard