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 / Writing on Excel works...
Power Automate
Unanswered

Writing on Excel worksheet error in PAD

(0) ShareShare
ReportReport
Posted on by 14

What I am doing is that, I have multiple CSV files. I read the contents from each of the CSV files and paste it on an excel worksheet from row : 1 and column : 1 in order.

 

When I paste CSV files that contain similar length of the contents, pasting on an excel work sheet works fine. However, when it comes to read CSV file that contains smaller length of the content, it places the contents from the end of the previous one although I set the start column and row as 1.

 

So what I am currently doing is to give a condition, "When it tries to read and past CSV files with certain names, open a new excel instance and paste it on it".

 

However, this causes a bad maintenance because, if there is a new CSV file that has smaller length of the contents than others, OR if there is a CSV file with smaller length of the contents being no more used, I have to edit the flow.

 

Does anyone know what makes it being pasted from the end of the previous one?

 

Thanks in advance!

I have the same question (0)
  • jacquimuller Profile Picture
    115 on at

    Please post a screenshot of your activity where you specify that the contents should write from cell A1. I have found, with other automation technologies as well, that the best way to 'overwrite' data is to delete the current sheet and write the data to a new sheet.

  • VJR Profile Picture
    7,635 on at

    Please share what you are referring to as "similar length" and "smaller length".

    If you paste some dummy csv file contents here that can be checked out by re-creating the scenario.

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard