paulyoder / LinqToExcel

Use LINQ to retrieve data from spreadsheets and csv files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WorksheetRangeNoHeader returning blank for cells with values

cmscott2 opened this issue · comments

I have a string column that has 3 cells with numbers in string format, and then 2 cells that contain strings that start with an N followed by some numbers. All of these cells also have rows in between them that are empty. If I leave it in that order WorksheetRangeNoHeader just returns an empty string for the last two cells. However, if I put one of the strings starting with an N in the first row it will read all of the cells correctly.

When I iterated through each row using Worksheet instead of WorksheetRange it was able to read that value.