New Post: XLSX file get corrupt when write using NPOI latest version
Hi Team, I have downloaded NPOI 2.1.3 latest version from https://npoi.codeplex.com/releases. When i am writing XLSX file using this dll then program successfully writes the rows (no error comes). but...
View ArticleNew Post: Looking for someone to help create a custom Excel output
Hello, I currently work for a small qualitative research company who specializes in mobile research. We are looking to have a have a custom excel file pulled from our database in a specific format....
View ArticleNew Post: Refresh Query In Excel
How can I refresh all queries in an Excel Workbook using this .dll? What would syntax be for both .xls and .xlsx files?
View ArticleNew Post: XLSX file get corrupt when write using NPOI latest version
Cannot offer any help unfortunately. Can only confirm the issue. Depending on your task, you could maybe try using EEPlus library for xlsx files.
View ArticleNew Post: while trying to upload the Downloaded xlsx file (without modifying...
I have downloaded the xlsx file using NPOI. without modifying that file I am trying to upload the same Now NPOI is reading only first columns (which contains 41 columns). If I open that downloaded file...
View ArticleNew Post: XSSFWorkbook font underline bug?
Hello, I have noticed that creating a font the way:font = workbook.CreateFont( ); font.Underline = FontUnderlineType.None; style = workbook.CreateCellStyle( ); style.SetFont( font ); the cell text...
View ArticleNew Post: Looking for someone to help create a custom Excel output
Hello, I have some experience with creating such files from database. My approach is:first create a spreadsheet layout using MS Excelthen read the layout using NPOI and save it eg. as an XML file or db...
View ArticleNew Post: Need to confirm if certain features are available in NPOI
Hi readers, I just want to know if NPOI provides following features or not: 1) Styling in word and excel documents (e.g. changing font, colors etc.). 2) Page number insertion after page break in word...
View ArticleNew Post: formula parsing exception
An unhandled exception of type 'NPOI.SS.Formula.FormulaParseException' occurred in NPOI.dll Additional information: Parse error near char 16 ';' in specified formula 'SUMPRODUCT(B3:B6;A3:A6)/B7'....
View ArticleNew Post: XSSFWorkbook Write to MemoryStream
I have seen many posts about this issue but no working solutions. I have a web application which writes XLS files using HSSFWorkbook through MemoryStream just fine. I want to have my application export...
View ArticleNew Post: Incorporation in Cell Comment
Hi , i am big fan of NPOI and already established several project smoothly .but getting trouble when creating cell comment using it . no such method on cell (Icell) we are getting ! which is easily...
View ArticleNew Post: Importing a DataTable into xlsx using a template for formatting and...
Hi, I've used a commercial library before to create xlsx files and one feature I liked was the ability to create an xlsx file as a 'template' and then load one or more DataTables into it. I'd love to...
View ArticleNew Post: XSSFWorkbook Write to MemoryStream
rei0429 wrote: Try BinaryWrite(MyMemory.ToArray()) The issue is not the BinaryWrite command. The issue is the default logic in the NPOI library to close the stream after completing the write command in...
View ArticleNew Post: XSSFWorkbook Write to MemoryStream
It's not a code mistake. We know the issue very well. But it's not reasonable that a zip stream is kept open after all the content is included. The stream in .Net is not so convenient as Java does....
View ArticleNew Post: comment shape
Hello, I cannot control the shapes of comments created with the following code:ICell cell = sheet.GetRow( row ).GetCell( column ); IDrawing drawing = sheet.CreateDrawingPatriarch( ); XSSFClientAnchor...
View ArticleNew Post: Incorporation in Cell Comment
Hi, The code enclosed in the thread works, despite I have problem with the shape of comments.
View ArticleNew Post: Auto size row
Hi, I know I can auto size columns in this library, but found nothing about auto sizing rows. Is this possible?
View ArticleNew Post: HSSFDataValidation
Hello, I'm using the HSSFDataValidation to add dropdown to the cells of two columns. The values of the Dropdown in the first column come from a cell range of an other sheet, the values of the dropDown...
View ArticleNew Post: Is it possible "html to Excel" with NPOI ?
I have a big string variable(table) contains "<table>...<tr>...<td>......." Its a html code. So I want to use this string variable to create excel file with NPOI. And of course I...
View Article