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 / Convert an Excel range...
Power Automate
Unanswered

Convert an Excel range to an Excel table with an automated trigger

(0) ShareShare
ReportReport
Posted on by 26

Hi Community,

 

I have been working on a flow to dynamically convert a range in excel to a table format. I have found a way to do it manually using an office script (Figure 01) and a power automate flow triggered manually (Figure 02)

 

Figure 01.

Julianveda_0-1707993440202.png

 

Figure 02

Julianveda_2-1707993585118.png

 

This flow works perfectly when triggered manually. However, I would like to make this dynamic to avoid indicating each time the excel file (red circle in figure 02).

 

My first try was then to use the flow below (figure 03):

 

Figure 03

Julianveda_3-1707993982972.png

 

However, I got an error (figure 04)

 

Figure 04

Julianveda_4-1707994049494.png

 

I suppose I have to get the content of the file for it to work better so I did a second try (figure 05)

 

Figure 05

Julianveda_5-1707994268911.pngJulianveda_6-1707994320778.png

 

This did not work either (figure 06) and is actually creating a lot of files without stopping 😅 had to turn it off.

 

Figure 06

Julianveda_0-1707994837961.png

 

 

Do you know any simple way to make my flow from the beggining of this message work with an automated trigger like "when a file is created or modified" instead of the manual trigger? This in order to make the flow dynamically considered each new file

 

Thanks,

Julian

 

Categories:
I have the same question (0)
  • rzaneti Profile Picture
    4,241 Super User 2025 Season 2 on at

    Hi @Julianveda ,

     

    You are referencing the file ID, while you should be using the file path as input. This small change in the input must solve the problem:

    rzaneti_0-1708001553917.png

     

    Let me know if it works for you or if you need any additional help!

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

    http://digitalmill.net/ 
    https://www.linkedin.com/in/raphael-haus-zaneti/ 

     

  • Julianveda Profile Picture
    26 on at

    Hi @rzaneti ,

     

    Thank you for your answer. I gave a try to your recommendation (figure 01). However, I get another error (figure 02). Am I doing something wrong?

     

    Figure 01

    Julianveda_0-1708070599655.png

     

    Figure 02

    Julianveda_1-1708070630170.png

     

    Julian

     

  • rzaneti Profile Picture
    4,241 Super User 2025 Season 2 on at

    Hi @Julianveda ,

     

    I've jus tried to replicate the same flow as you have, and got the same error. After some tests, I found that you need to add a "Get file properties" action before the "Run Script", pass the created file ID to it, and then use the "Full path" dynamic content from this Get file properties into Run Script file path.

     

    I don't have details about why do we need to include this additional step, but it worked fine for me! 

     

    Let me know if it works for you or if you need any additional help!

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

    http://digitalmill.net/ 
    https://www.linkedin.com/in/raphael-haus-zaneti/ 

  • Julianveda Profile Picture
    26 on at

    @rzaneti ,

     

    Thank you for your prompt reply. Unfortunately it did not work for me (image below) 😞 Still the same error. 

     

    I did as you suggested: adding "get file properties", using "ID" from "When a file is created. Then, using "full path" from the "Get file properties" in the "Run Script" space dedicated to file.

     

    Julianveda_0-1708100667778.png

     

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