How to select range from excel for dynamic ranges?

I have start range and end range in a variable which is dynamic. When I put the variables in select range activity it throws me an error.

Hi
Welcome to uipath community
May I know the values passed to those two variables
And what was the error we were getting from select range activity

@Mahima_Maharjan

1 Like

Hi, welcome to uipath community forum
is the variable you are using of string type variable ?
The variable should have values in this format “B2:D10” as example

1 Like

Hi @Mahima_Maharjan
You cant pass the string variables as StringVariable1.ToString+“:”+StringVariable2.ToString

Youc an pass it as StringVariable1.ToString

Thanks
Ashwin S

1 Like

Thank you. Solved my problem.

Thank you. Solved my problem from AshwinS2’s comment