How to select multiple row according to row indexes taken as an input

I
Screenshot (38)

I have list of rows and i will take all rows to be selected as a list from user, how can i select all those rows?

There’s a couple of ways to approach this depending on the situation. First, can you tell us if this is Attended or Unattended automation?

Hi argin,
Its an unattended automation, i am taking input from an excel.