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 / How to Rename workshee...
Power Automate
Unanswered

How to Rename worksheet name

(0) ShareShare
ReportReport
Posted on by

worksheetname.PNGCapturess.PNG

I'm trying to create table but it says the error message status code 400 invalid arguments. My worksheet name is SLA Breach Output as its space inbetween so i used replace(SLA Breach Output ,' ','') and it is not working. Kindly confirm what went wrong.

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    There is no action available in Power Automate to rename a worksheet. But you can remove the spaces when you use the worksheet name to create the table.  Instead of replacing the spaces with an empty string I would suggest replacing them with an underscore '_'.  However, I think the issue you are having is because of your Table Range setting not the table name. if the Worksheet name has spaces in it all you need to do is surround the variable holding the name with single quotes when specifying the range.  Like this

    image.png

  • Priyanka03 Profile Picture
    on at

    I tried the exact format as like you but it still says that Status 400 error: The argument is invalid or missing has incorrect format. 

  • Verified answer
    Priyanka03 Profile Picture
    on at

    @Pstork1 ,

     

    I tried like this and it is working fine.

    =OFFSET('SLA Breach Output'!A1,0,0,SUBTOTAL(103,'SLA Breach Output'!$A:$A),3)

    Thank you

  • Verified answer
    Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    If the worksheet name is in a variable you can replace everything inside the single quotes with the variable and it will work also.

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard