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 / power automate desktop...
Power Automate
Answered

power automate desktop web automation writing back to excel file

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a loop and i want it to write back to a excel file. Right now the loop is working but instead of writing back the data in the same excel file, it replaces the first url, with the latest one, instead of appending it to the excel spreadsheet. How can i accomplish writing back to excel buy appending the data to spreadsheet each time the loop runs, instead of overwriting the previous saved url.

 

pad.PNG

 

If you take a look above i am storing the url in a variable and then trying to write that variable value into a spreadsheet. This process runs multiple times and i am suppose to store a list of urls in the test.xlsx spreadsheet. But right now when the loop runs, it overwrites the older url instead of appending to it.

 

Thank you in advance

I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at

    @Anonymous 
    You'll need to change the active cell to the next available row to avoid having your URLs overwritten.  Use the "Get first free column/row from Excel worksheet" directly after your set variable step.  Produce the variable FirstFreeRow.  Then use that variable in your next step "Write To Excel"" in the Row field and make the Column field 1 (assuming you are writing all of your URLs in column A).

    mdevaney_0-1645240865301.png

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 382

#2
Valantis Profile Picture

Valantis 370

#3
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

Last 30 days Overall leaderboard