New Post: Exception when loading a specific xls file (1.2.5)
There must be something wrong in the RowRecords of the before-saved file. Where is the file from? Is it generated by third-party component?
View ArticleNew Post: Exception when loading a specific xls file (1.2.5)
After asking the creator of the third-party software that is also interacting with this Excel file, I found that it uses the "Excel API .NET" component from http://www.skysof.com/ - so yes, a...
View ArticleNew Post: NPOI messages in Debugger Output tab on new XSSFWorkbook, Loading...
Hi,When running with the debugger there are some messages in the Output tab that appear during the call to:new XSSFWorkbook(stream);Debug Output:'MyProgram.EXE' (Managed (v4.0.30319)): Loaded...
View ArticleNew Post: NPOI messages in Debugger Output tab on new XSSFWorkbook, Loading...
This looks weird. Do you know what's the name 'abcdefg' for?
View ArticleNew Post: Inserting rows and moving charts?
Thank you for using NPOI. You are not the first one to request chart operation feature. The team is considering including chart part. But it's not determined yet. HSSFChart is in alpha version though...
View ArticleNew Post: Inserting rows and moving charts?
Hi Tony,We ended up moving the charts in the template above the data, so that we could insert rows without worrying about overlap. So at least in my case, there was a workaround =)Thanks for the...
View ArticleNew Post: Can XSSF open Excel 2003?
Hi All,I can use NOPI.XSSF to read Excel 2007 files. And then I downgrade save the Excel 2007 version, and try to use NOPI.XSSF to read Excel 2003 file, but it fails. Is it as designed? I want to...
View ArticleNew Post: 64 bit support
Dear tonyqus,May I know how to get pure NOPI 64bit NET Framework library?thanks!
View ArticleNew Post: NPOI messages in Debugger Output tab on new XSSFWorkbook, Loading...
If you are asking me, I do not recognize the names that it prints. I believe the names are changing each time I run.
View ArticleNew Post: How do I set the DataFormat for an entire column?
I'm having trouble setting the DataFormat on a column in a report. I was hoping to use SetDefaultColumnStyle, but it doesn't appear to be working:ICellStyle datetimeFormatStyle =...
View ArticleNew Post: use vb.net to create xls file from .net table using NPOI
Hi,using asp.net/vb.net 2010I have a .net datatable and I would like to create an excel (xls) file using NPOI. While I am displaying most of the columns to the user, also I would like to format a...
View ArticleNew Post: Using NPOI.SS.UserModel to open both XLS and XLSX for reading
Using NPOI 2.0 AlphaI am having an issue opening an Excel 2007 (xlsx) Workbook. I receive the following error:The supplied data appears to be in the Office 2007+ XML. You are calling the part of POI...
View ArticleNew Post: Using NPOI.SS.UserModel to open both XLS and XLSX for reading
Nevermind. I just figured it out. Instead of using POIFSFileSystem, just supply the FileStream directly to WorkbookFactory.Create(...) and it seems to work just fine.Dim xlWB As IWorkbook =...
View ArticleNew Post: HSSFCellStyle.UserStyleName always returns NULL in 1.2.4
I am using NPOI 1.2.4 and have noticed that I cannot retrieve a custom cell style by name as the UserStyleName property always returns null.Having looked through the NPOI source, it appears that a...
View ArticleNew Post: HSSFCellStyle.UserStyleName always returns NULL in 1.2.4
Have you tried 1.2.5?
View ArticleNew Post: 64 bit support
jwhwang wrote:Dear tonyqus,May I know how to get pure NOPI 64bit NET Framework library?thanks! There is no pure 64bit version.
View ArticleNew Post: How do I set the DataFormat for an entire column?
I'm not sure what's going on with SetDefaultColumnStyle. But I suggest you create a shared cell style with the dataformat and assign it to each existing cell in the column. I'm thinking maybe...
View ArticleNew Post: Can XSSF open Excel 2003?
Please use NPOI.SS.UserModel.WorkbookFactory. It will automatically determine which type of Excel files are you importing and return you the correct object(HSSFWorkbook or XSSFWorkbook). Actually, it...
View ArticleNew Post: Exception when loading a specific xls file (1.2.5)
If that's the case, please ask the third-party for help. They are making mistakes while creating the file instead of NPOI.
View Article