New Post: Initialisation of record 0x31 left 4 bytes remaining still to be read.
在这个链接中看到了POI中的解决办法,请参考http://bbs.csdn.net/topics/390020607
View ArticleNew Post: Upgrading NPOI. Need Help.
After replacement with the new version, you have to change some code because interfaces are changed.
View ArticleNew Post: Need Help in creating a Bar Graph Chart Using NPOI
I have been trying to find examples to create a bar graph chart using a datatable . As this is my first with NPOI it would be helpful if the code is in detail.
View ArticleNew Post: Adding more than one chart to worksheet results in corrupt .XLSX file
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
View ArticleNew Post: Need Help in creating a Bar Graph Chart Using NPOI
Bar graph is not supported for now.
View ArticleNew Post: Howto GUIDE to add NPOI
Hello all. Im using NPOI 1.2.3 with Visual Studio 2008 and 3.5 NET framework and it works with xls files. But does not recognice xlsm files:"The supplied data appears to be in the Office 2007+ XML. POI...
View ArticleNew Post: How to append datatable to an exist excel file?
I have to write a datatable into an exist excel file which is not empty, the columns of the datatable and the sheet of the file are the same, how can I do this? I tried the append mode, like this:...
View ArticleNew Post: Howto call a macro in a xlsm workbook
Hi all I have a workbook with macros. How can i open the workbook and EXECUTE a macro ? Thans in advance.
View ArticleNew Post: Howto call a macro in a xlsm workbook
I found a solution:http://support.microsoft.com/kb/306683 thanks anyway.
View ArticleNew Post: Error when creating instance of XSSFWorkbook in Visual C# CLR...
Hi. I'm creating a Excel export function for SQL server. I have the following bit of code in my Visual C# CLR Database Project...public static void CreateExcelFile(SqlDataReader rdr, string outputFile,...
View ArticleNew Post: Read XLSB
Hi all, i am new working with NPOI and i want to know if XLSB format is supported by this library. and if it does, would you give me some example? Thank you very much!!
View ArticleNew Post: Error when building project - NPOI.SS.UserModel.FontBoldWeight'...
Hi, Apologies but I'm new to this, I've picked up a project from a colleague that left (with no handover). I opened up his project and noticed a missing reference of NPOI. I downloaded the latest...
View ArticleNew Post: Error when building project - NPOI.SS.UserModel.FontBoldWeight'...
It seems that this was just a case sensitivity issue:titleFont.Boldweight = (short)FontBoldWeight.BOLD; should have been:titleFont.Boldweight = (short)FontBoldWeight.Bold;
View ArticleNew Post: Conditional Formatting Using NPOI
I have been trying to Format the cells with Different backgroundcolor which meet certain condition . I have made few attempts , it would be helpful there is a sample code. Thanks in advance
View ArticleNew Post: AutoSizeColumn got slow in NPOI 2.0
Ok, I undertand the complexity of that operation, but given an xls file for which NPOI 2.0 takes about 10 minutes to autosize columns, Microsoft Excel accomplish the same task in less than a second (on...
View ArticleNew Post: Word: Reading file and rewriting changes format.
I am trying to read a Word document, make some changes and then save it with a different name. Even when not making any changes the "copy" document changes appearance. The reason is that the "Normal"...
View ArticleNew Post: Landscape does not change
Hi, I want to change the sheet orientation to landscape and I have set it as follow. But it does not change. Regards, AlexIWorkbook wb = new XSSFWorkbook(stream); ISheet sheet =...
View ArticleNew Post: How to change value of Excel 2003 (xls) Forms.ComboBox with NPOI 2.1.1
Hi, I have a xls template file that i have to fill with data. 2 of the fields in the template are =EMBED("Forms.ComboBox.1";""). I never really saw this on a excel file and if i try to set a value to...
View ArticleNew Post: Grouping question with NPOI
Hi, I'm using NPOI 2.0.6 Is there some way to do the grouping (or pivot) similar as this attached file content?grouping example.xlsx
View ArticleNew Post: PPT
Is PPT support supplied anywhere? I just need to extract text, nothing else. Thanks, Andy
View Article