Showing results for 
Search instead for 
Did you mean: 
Advocate III
Advocate III

How to get data from different excel spreadsheets

I have a library of excel spreadsheets.  When  a user selects a spreadsheet, I want a workflow to use certain fields of data to write a new row in a different excel spreadsheet.  By using For a selected file trigger, the user can use the launch panel to select the workflow to run.


I tried using the Get a row and the List rows present in a table actions.  In each case, I am required to select the exact spreadsheet to pull the data from.  However, I don't know which spreadsheet the user selected.  I used the filename from the For a selected file trigger.  The tables in the spreadsheet didn't appear so I manually entered the table name.  PA saves the workflow, but it fails to run because it can't find the table name.


Is there a way to get the data from a spreadsheet when it can be any given spreadsheet?






Community Champion
Community Champion

hi @DTooley  you can use this example to get the worksheets into a excel


Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!

If you want you can follow me at Quieres contenido en español? Síguenos en Power Automate LA

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,071)