I'm making a console application that reads a protected excel and dumps it into a database, the problem is that this excel has marked the edges of the cells in all lines.
Excel.Application xlApp = new Excel.Application();
Excel.Workbook xlWorkbook = xlApp.Workbooks.Open(item);
Excel._Worksheet xlWorksheet = xlWorkbook.Sheets[2];
Excel.Range xlRange = xlWorksheet.UsedRange;
and said cells read them as if they were data.
As I can avoid that I read the edges as data of this excel, the excel file I can not edit it.