Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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.

  • pandit Profile Picture
    4 on at
    Re: fail to run script "worksheet not found"

    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 

  • David- Profile Picture
    1,254 on at
    Re: fail to run script "worksheet not found"

    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.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,679 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow