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 / fail to run script "wo...
Power Automate
Unanswered

fail to run script "worksheet not found"

(0) ShareShare
ReportReport
Posted on by 4

Hi,

 

i´m trying to use script in flow, but a receive message "worksheet not found".

 

If i run script direct from spreadsheet, it works perfectly.

 

This script is simple, just delete all lines in a table.

 

pandit_0-1662033373168.pngpandit_1-1662033454475.png

 

Anyone can help me? thanks in advance.

Categories:
I have the same question (0)
  • David- Profile Picture
    1,254 on at

    This is only a guess, but maybe you are encountering a URL length issue. Your Excel spreadsheet is pretty deep in a set of nested folders and your filename is a bit long. Try moving the Excel file to the root of your folder path and then connect to it there to see if that resolves your issue. I've used the Excel script feature a number of times and have not had any problems yet.

  • pandit Profile Picture
    4 on at

    Hi David, thanks for your help. I don´t know what happened, but i changed all excel file names, and rewrote all flows with new names. Now it works! There´s no logical about this, just change names and works, but actually, i don´t have more problems.

     

    Thanks for your help again.

     

    pandit 

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard