Below code throw an exception "Extern sheet is part of LinkTable"
using (var fileRead = new FileStream(FileName, FileMode.Open, FileAccess.Read))
{
try
{
xlsFile = new HSSFWorkbook(fileRead);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
Could u help with opening this file. Microsoft Office easily opens this file and offer to resave. After resaving NPOI easily works with this file.
But i need NPOI way to work with files like this.
using (var fileRead = new FileStream(FileName, FileMode.Open, FileAccess.Read))
{
try
{
xlsFile = new HSSFWorkbook(fileRead);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
Could u help with opening this file. Microsoft Office easily opens this file and offer to resave. After resaving NPOI easily works with this file.
But i need NPOI way to work with files like this.