Index was out of range.must be non negative and less than the size of the collection


I am getting the subject line error while converting the workbook into binary data.

Use case: i have a excel in my resourse and i open that excel using workbookopenbinarydata action then after from another workbook, i am coping sheet using worksheetcopy action after that inam trying to convert workbook to binary data using workbookgetbinarydata action then i am getting the error.


Hi Milind,

Are you using sheet number inside workbook sheet,

Please check

 sheet start from 1 to n number.


Rahul Sahu

No,I am not using sheet number and i am not getting error while selecting the sheet or coping the sheet, I am geeting error while converting workbook to binary.