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 / 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard