Quantcast
Channel: NPOI
Browsing all 1621 articles
Browse latest View live

New 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 Article


New 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 Article


New 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 Article

New Post: Howto call a macro in a xlsm workbook

I found a solution:http://support.microsoft.com/kb/306683 thanks anyway.

View Article

New 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 Article


Created Unassigned: XSSFWorkbook.Write closed the stream [13197]

why to close?

View Article

Created Unassigned: Weird behavior when locking cells NPOI 2.0.6 [13199]

I spotted a weird behavior when trying to lock some cells with NPOI. Using global cell styles I can only generate an excel sheet with all cells blocked or all cells editable. The __ProtectSheet()__...

View Article

New 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 Article


Created Unassigned: NPOI.POIFS.Crypt doesn't exist in NuGet package [13206]

I am using NPOI to work with .xls files that are password protected.According to the GitHub page (https://github.com/tonyqus/npoi/tree/master/main/POIFS), Crypt exists along with all of its files.BUT...

View Article


New 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 Article

New 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 Article

Edited Issue: [Bug] Broken named ranges after existing file modification [13165]

I tried to open existing xlsx file (from excel 2007) and alter named ranges (can be specified in excel in Formulas/Name manager).Problem is that when file is saved, all names' scope is changed to Sheet...

View Article

Closed Unassigned: Export progress indication [13162]

Hello,Is there possible to know the export progress state, in order to display a progress bar for time consuming excel export operations (large files combined with AutoFit) ?And also is it possible to...

View Article


New 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 Article

Reviewed: NPOI 2.1.1 (八月 23, 2014)

Rated 5 Stars (out of 5) - wonderful

View Article


Created Unassigned: NPOI.HSSF.dll file missing [13220]

Hi, I was wondering if someone from here could make me aware of how I can restore a missing NPOI.HSSF.dll file in the bin folder of my project solutions. If I need to download a new copy of it, that's...

View Article

Commented Unassigned: NPOI.HSSF.dll file missing [13220]

Hi, I was wondering if someone from here could make me aware of how I can restore a missing NPOI.HSSF.dll file in the bin folder of my project solutions. If I need to download a new copy of it, that's...

View Article


Closed Unassigned: NPOI.HSSF.dll file missing [13220]

Hi, I was wondering if someone from here could make me aware of how I can restore a missing NPOI.HSSF.dll file in the bin folder of my project solutions. If I need to download a new copy of it, that's...

View Article

New 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 Article

New 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 Article
Browsing all 1621 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>