Write Cell: Index was outside the bounds of the array error


I am iterating loop to write data in excel but i am getting index out of bound error.
I have to write splitted data in each row of excel .
Script is writing data but once it is done it is throwing error.
Here are the screenshot.

Hi @Mathkar_kunal

Instead of SpilttedName(counter).ToString

Use item.ToString

And the reason for this error is theindex u had assigned to retrived the value from array is larger than permissible


1 Like

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