Excel issue in UIPATH - Index was outside the bounds of the array

Hi Team,

WE have Excel related process which is giving below error . Please help me in resolving the error.

Exception encountered in process which says Index was outside the bounds of the array. issue is in activity : Anonymously Hosted DynamicMethods Assembly

Please provide more details.

Our RPA process will do excel automation and create the note pad files. during excecution, it is giving Index was outside the bounds of the array error. Can you please help

When do you get this error? Index out of bound exception occurs when an attempt is made to access an element of an array or collection with an index that is outside its bounds. More details would be required to pinpoint the issue. Please do a debugging and find the activity that throws this error.


Could you please run the workflow in debug mode and check where you are getting Error.