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 / Use results from a scr...
Power Automate
Unanswered

Use results from a script in the next step

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

newbie here. I am trying to turn a data range into a dynamic range, and then create a table from that range. I have looked at a few other threads, but when I try them there is always something that does not work.

 

I have decided to take the path of using office scripts, and to create a range and then get the last row. My idea is then to use the row number together with 'Create a table' for Excel Online. 

 

I have managed to create the result '17', which is the correct last row.

Chewbacca_2-1661433781613.png

 

But I do not know how to proceed. I want to use the 'Create variable' but I do not get anything in the drop down for Name, and I cannot type anything. 

 

How do I use the result from 'Run Script' to use it in the range input field of 'Create table'?

 

Chewbacca_1-1661433699590.png

 

Categories:
I have the same question (0)
  • Yutao Huang Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    As you are already using Office Scripts, do you think you can just use the script code to create the table (instead of using the "Create table" action)?

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
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard