I would like to make UIPath read row by row and convert it to text. However, the content was in column by column format. So when I use expression, row(1).ToString, the output will be row of that column. I want to make UIPath to list out like image below:
My Output should be = A, and then B, and then C, and then D, and then E. One by one through message box.
I only know row(1).ToString but it output = A ā A2
Have you tried using outdatatable? It will return you all excel as strings.
Then when you split according to the new line, you will get each row as a string.
result.Split(Environment.NewLine.ToArray,StringSplitOptions.RemoveEmptyEntries)(1)
@DTECH Correct me if I am wrong. When you are looping through the first row instead of printing A,B,C,D,E in a message box you wan to print as A2, B2, C2 etc
No, I mean, I want to print A, loop again, print B, loop again, print C loop again D.
Once finish first row, it goes 2nd row, print A1, loop again, print B1
Here, sorry for misconfusion, the steps should just read one by one from left to right. So either A1 or A also can. The output should be A ā B ā C . If no more on first row, loop again to A1 ā B1 ā C1