DEV Community

casascza
casascza

Posted on

NPOI

hi guys. I am using the NPOI library but when I create the object from an existing file, it is closed. Has anyone had a similar problem?

FileStream streamYC = new FileStream("c:/file.xls", FileMode.Open, FileAccess.ReadWrite);

HSSFWorkbook workbook2 = new HSSFWorkbook(streamYC );

regards!

Top comments (0)