ReadRange gives me error Strict On conversion from String to Uipath.Excel.readRangeRef

Hello, i’m making a bot that can read a range in a excel, the sheet name is “Hoja1”, wich is the name by default of the sheet, and it gives me this error that i can’t solve, the error message is in spanish, but it’s very similar to what i put in the title.


Please if anyone could help me fix this? Thanks !

Hi,

We need to set as the following.

Excel.Sheet("Sheet1")

or

Excel.Sheet("Sheet1").Range("A1:D2")

Regards,

1 Like

It Worked!! Thank you very much!

1 Like

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