Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

Created Unassigned: Exception "Extern sheet is part of LinkTable". Can not create HSSFWorkbook object from FileStream. [14145]

$
0
0
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.

Viewing all articles
Browse latest Browse all 1621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>