I think the following line in method ExcelBinaryReader.readWorkSheetRow() is wrong:
```
m_cellsValues = new object[m_maxCol];
```
Reason:
m_maxCol holds the index of the last column, not the column count. We get a "one-off" here. Just fix the line like so:
```
m_cellsValues = new object[m_maxCol+1];
```
Comments: ** Comment from web user: specialist_ **
```
m_cellsValues = new object[m_maxCol];
```
Reason:
m_maxCol holds the index of the last column, not the column count. We get a "one-off" here. Just fix the line like so:
```
m_cellsValues = new object[m_maxCol+1];
```
Comments: ** Comment from web user: specialist_ **
I have IndexOutOfRangeException when I import excel files in old format
[details](http://dev-doc.blogspot.com/2015/02/c-exceldatareader-indexoutofrangeexcept.html)