Kuro
(KuroObi )
October 3, 2022, 4:43pm
1
I am trying to read a set of rows in excel, to be able to extract the data of each column to a variable, I am somewhat lost, how can I do it?
I have seen read range, but it only reads me a single column, and I need all the columns of all the rows
thanks
Hi @Kuro
Welcome to the UiPath Community.
Can you try with “Range” being empty
Hey @Kuro by default the range value is “A1” so the read range will read only “A1” cell value
if you want to read the entire table then clear the range value or if you want only parrticular range values then pass the range there
Example of passing range values “A1:D3”
A1 will be starting node and D3 will be ending node…
Thanks and Regards
Sreejith S S
1 Like
Gokul001
(Gokul Balaji)
October 4, 2022, 4:50am
4
HI @Kuro
Welcome to UiPath community
Have you tried with Read range activity with Range -> ""
Regards
Gokul
Kuro
(KuroObi )
October 4, 2022, 2:16pm
5
Can I see somewhere an example of reading all the lines and columns?
Gokul001
(Gokul Balaji)
October 4, 2022, 2:17pm
6
This will read all the columns and rows in the excel @Kuro
Regards
Gokul
Kuro
(KuroObi )
October 4, 2022, 2:23pm
7
Thanks, at that point I was, but my excel has 6 columns per row, how can I put that data in a variable row by row?
Kuro
(KuroObi )
October 4, 2022, 2:28pm
9
Thanks again, I want it to start at row A11 onwards, do I put A11 in range?
Gokul001
(Gokul Balaji)
October 4, 2022, 2:31pm
10
Yes @Kuro , You can do it.
Kuro
(KuroObi )
October 4, 2022, 2:33pm
11
I have set it to start at A11, and I understand that the columns are called A, B, C…so to display the table data I use this CurrentRow(“B”).ToString
Because I need to retrieve the data of B, C, D, E of each row, thank you very much for your help
Gokul001
(Gokul Balaji)
October 4, 2022, 2:35pm
12
Have a look on the UiPath Academy
Do you have any other queries @Kuro
If not, Kindly close this topic by mark as solved. It will help for other too
Regards
gokul
Kuro
(KuroObi )
October 4, 2022, 2:40pm
13
I just saw a problem, from row A1 to row A10, they have to be deleted before putting the data in DataTable, I have put the delete range activity with the range “A1:A10”, but it does not delete them, maybe something i’m doing wrong
Gokul001
(Gokul Balaji)
October 4, 2022, 2:50pm
14
Create a new topic for this queries. I think this is out of topic @Kuro
system
(system)
Closed
October 7, 2022, 6:58pm
16
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.