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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / close an Excel file on...
Power Automate
Unanswered

close an Excel file on Sharepoint/OneDrive

(0) ShareShare
ReportReport
Posted on by 122

One of my colleagues has written a Power Automate script that populates an excel spreadsheet with some website URL's.  At the end, it calls Power Automate Desktop to visit the URL's and download data, populating the same spreadsheet.  We then have PAD import the spreadsheet to our task management system.  So far so good.... at the end, we want to open the spreadsheet in PAD and delete the data, leaving an empty table, ready to be populated by Power Automate (web) next time it runs.  The issue we have is that Poer Automate seems to be holding open the Excel file when it initially populates it, when PAD comes to delete the rows in the file it cant then sync the file and I get a OneDrive error.  Is there something I can put in Power Automate Web to close the excel file before calling the Power Automate desktop script?  BTW, I know it would have been easier to pass a data table from Web to Desktop rather than using an Excel file but they have built it this way, it works and its their first time using Power Automate so I dont really want to rip it all up and start passing tables between Web and Desktop unless it cant be helped!

Categories:
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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 507 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 267 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard