Runtime Execution Error - Excel for Each Row

I keep getting a Runtime execution error while trying to create Excel for Each Row.

Message: Index was outside the bounds of the array.

Exception Type: System.IndexOutOfRangeException

I followed the tutorial online. Any suggestions?

Can you share the screenshot of your workflow?
It will happen when you are trying to access the Index which is not present.

Eg:if your array"A" has two elements (“A(0) &A(1)” and you are trying to access third “A(2)” element it will throw above error

Hello Kristen,

I have a few questions for you :slight_smile:

  1. What studioX version are you using ?
  2. What excel package version are you using
  3. Can you please share the logs with us ( %localappdata%\UiPath\logs )

I’m asking this because I tried to replicate the issue that you have using the print screen that you provided and I was unable to reproduce the issue .