New Post: ICellStyle FillForegroundColor issues
Hi, We are newly started using NPOI components. We are having issues to set FillForegroundColor of ICellStyle property. ICellStyle HeaderCellStyle = xssfworkbook.CreateCellStyle();...
View ArticleNew Post: Basic pre-requisites to use NPOI
Hi, I am using NPOI for the first time. I am making an ASP.NET web site where on click of a button, I want to generate an Excel file in a password protected state and send it to the client to download...
View ArticleNew Post: Basic pre-requisites to use NPOI
No. You don't need MS Excel at all. NPOI write binary stream to response or file system. As long as you have .NET 2.0 sp1 installed, it would be enough to run NPOI.
View ArticleNew Post: Excel Data Writer Wrapper in Excel using NPOI
You had better put this in github or somewhere. I don't think discussion will be viewed by a lot of people. Anyway, thank you for what you shared. It looks to be useful.
View ArticleNew Post: How to decrypt Excel 2003-2007 xls file?
it can decrypt xlsx file but can not decrypt 2003-2007 file How to decrypt Excel 2003-2007 xls file?
View ArticleNew Post: NPOI and setCellFormula(): decimal-separator is cutoff
I found the same problem whith NPOI 2.0.1. If I use sheet.SetCellFormula("10 * 0.015"), the result is "10 * 15" when the correct is "10 * 1,5".
View ArticleNew Post: NPOI and setCellFormula(): decimal-separator is cutoff
Hi All, Since 2.0.5 is just released, can you try the latest version? And let me know if it still exists.
View ArticleNew Post: [NPOI.XSSF.UserModel] XLSX file : repair needed when using Double...
I faced the same problem and narrowed it down a bit. On my German system with German culture info (i.e. comma as decimal separator), the XML files will be corrupt, regardless of the data type I am...
View ArticleNew Post: How to Insert a Column in a .xls or .xlsx file?
I know there's some way to insert rows. But how to insert columns?static void InsertRows(ref HSSFSheet sheet1, int fromRowIndex, int rowCount) { sheet1.ShiftRows(fromRowIndex, sheet1.LastRowNum,...
View ArticleNew Post: Build samples
Hello. When I open "NPOI.Examples.2010.sln" and try build it, I had multiple unresolved assembly reference errors. I know that I would be add reference to binary NPOI dll's in a some project samples...
View ArticleNew Post: Build samples
foxxxx wrote: Hello. When I open "NPOI.Examples.2010.sln" and try build it, I had multiple unresolved assembly reference errors. I know that I would be add reference to binary NPOI dll's in a some...
View ArticleNew Post: add pdf stream into worksheet
Hi I have two pdf files. I want to add each pdf file into worksheet. Is it possible? Regards, Alex
View ArticleNew Post: Merge two different excel files into one excel file
Hi, I I have created two HSSFWorkbook and want to merge these two workbook into one. May I know how I can merge? Regards, Alex
View ArticleNew Post: NPOI 2.0 beta 1 : Copy sheet between workbooks (contributed by Paul...
Hi, I saw Copy sheet between workbooks (contributed by Paul Kratt) in NPOI 2.0 beta 1 release. May I know how I can copy sheet between workbooks. Regards, Alex
View ArticleNew Post: How to get image position (Anchor) in excel
Hi, I have one function call GetVesselUtilizationReportFile and it generate one excel file base on outport. It can be generated successfully. Now I need to generate one excel file for all outports. so...
View ArticleNew Post: Build samples
You can use Notepad++ and replace all of the relative path of the assembly reference with an absolute path (on your computer) in the csproj file.
View ArticleNew Post: How to Insert a Column in a .xls or .xlsx file?
There is no native API to do that. But you can try to figure out by your own code.
View ArticleNew Post: Build samples
That's a really big stuff to modify every project file... I found that they use the path (in 20131204 examples package.zip):..\..\..\solution\Lib\NPOI.dll So we just create a solution folder and copy...
View ArticleNew Post: How can I obtain Scaling mode: Reduce/Enlarge printout?
Sorry to bother but I'm still swamped. Can someone give a hint? Thanks!
View Article