Loop through a data table in descending order

I am new to UiPath.
What I have is an excel file and I want to start a loop from the last row to the first row.
How can I do that?

1 Like

Hi @Milbert_Dacudao!
Welcome to UiPath COmmunity!

  1. First, use a Read Range Activity to store the excel table in a data table.
  2. Refer to this post by @Manjuts90:
    How to reverse a DataTable? - #5 by Manjuts90
    Hope it helps!
7 Likes

Thanks! It works!

1 Like

No problem! Feel free to consult me anytime :slight_smile:

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.