Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Extract a table in a desktop window

When I extract a table in a desktop window I get the data as a string variable. How do I get it to be a table? If I get it into excel it paste it all in one cell.


Do somebody have an example how to?

Super User
Super User

Hello @jemoe 


Could you share some screenshots and which actions have you used in the PAD code.


@jemoe -


Step 1: You will have to right click on one of the table cells and then select "Extract entire HTML table"(screenshot attached)



In the Live web helper, you should be able to see the data in tabular format.



Step 2: Store Data mode > You could either choose Variable or Excel Spreadsheet



For Excel Spreadsheet, output would be of this format



For Variable, output would be of table format.



Super User
Super User



The original post is referring to a desktop table versus an Html table.


I am able to recreate the mentioned issue. When the desktop table on the left is extracted using "Extract data from Window", then it pastes into excel into one single cell A1 as shown in the right. And does not give table like structure.


Select the output as Spreadsheet in the "Extract data from window" action.





If it doesn't work then one option would be to dynamically navigate cell by cell within the table.


@jemoe, have you come up with a workaround?

@RIYAMROY any ideas on alternate solution please share.




Hi @VJR - I am able to extract it in tabular format in Excel Sheet with the dummy Contoso Invoicing Desktop Application.

@jemoe @VJR Could you share the desktop application that you are using to re-create the issue?

Super User
Super User



Its a training application for the Blue Prism RPA tool called as Centrix Data Solutions therefore won't be able to share unless it is taken from their training material.


Here is the difference..


The Ui element in Contossa application is a Datagrid




Whereas the Ui element in Centrix Data Solutions is a Table




Therefore they are giving different results.


I do not need an answer since I do not have this requirement 😊.

This analysis was only for the sake of the original poster.


But I do need information regarding the screenshots you have posted.


- May I know why is everything showing up twice in the Excel screenshot. Two email, amount, account name etc within the same Excel cell?

- Secondly, any idea why is there an incorrect mapping between the column headers and their values in the DataTable you have posted.


For example, 

The Email is showing up in the Amount column and the Date is displayed in the Account name column. Likewise for all others.


Do you see these as bugs and something to report?



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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Top Solution Authors
Top Kudoed Authors
Users online (2,927)