Hello I would like to read the last cell of my exel

How can I get the last cell of an excel that is output in read range thanks

Hi, welcome!

This is one way to get the value of the cell from the last row and a specific column:

YourValue = SampleDataTable.Rows(SampleDataTable.Rows.Count - 1)("SampleColumnName").ToString

1 Like

Hi @VAZQUEZ_SOSA_LUIS_ALBERTO

Welcome to UiPath Community !

Here is the 2 activities help to find the last cell.

  • To find last Row and column

Regards
Balamurugan.s

it works thanks

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