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

New Post: Read xlsx file

Hi I am a newbie. I would like a simple example of how to read a number value from a cell. Thanks Herman

View Article


Created Unassigned: NPOI.Examples.2010.sln is a 2012 solution [11997]

The sample project NPOI.Examples.2010.sln will not open with Visual Studio 2010. I get an error message stating that the solution was built with a newer version of VS.

View Article


New Post: To write xlsx to a stream

Hi, when I tried to write a xlsx file to a memoryStream using XSSFWorkbook.write, I found the method closed the stream. This behavior made the stream cannot be accessed. HSSFWorkbook.write did not do...

View Article

Created Unassigned: Is this project still alive? [12006]

It seems that the development of this library has ceased, after the v2 beta 1 nothing happened.So there isn't any road map and planed releases?

View Article

New Post: How can I change the long date format to short date format?

I have the same question. Has anyone forced the Excel export to format the date without the time? I know that it's possible by casting the date as a string, but this solution is not ideal because it...

View Article


New Post: How to change the Numberformat to Text from C#

Hi, I am using NPOI for Export to .xls file. After Export to .xls when I open all the cell should be in "Text" Numberformat instead of "General". All the cells in the .xls file should take example if I...

View Article

New Post: Excel Conversion to PDF using NPOI

Hi , i want to convert the excel workbook which has images, chart and more than 200 columns and 1000 rows. Can anyone please provide the sample code to get it done . i have tried the solutions but...

View Article

Created Unassigned: Named regions exception [12055]

Hello!NPOI 1.2.5Working with a named cell is fine:var x = WB.GetName("TestCell");var z = new CellReference(x.RefersToFormula);But with a named region - exception - Invalid Formula cell reference:...

View Article


New Post: New Version On NuGet

Anyway to publish a NuGet package for version 2.0 beta 1 as a Pre-Release Package?

View Article


New Post: How to change the Numberformat to Text from C#

I dont know if this is what you're looking for, but you can set the Format of cells to Text like this://quick example var cell = sheet.GetRow(3).GetCell(2); cell.CellStyle.DataFormat =...

View Article

Reviewed: NPOI 2.0 beta 1 (ago 27, 2013)

Rated 5 Stars (out of 5) - Nothing bat to say, It allows me to read xls and xlsx files and write them too, I can even use an xlsx as template and edit some cells only directly from c#.

View Article

Commented Unassigned: xlsx Insert second picture error [11892]

Hi all,When I insert secord picture in Xlsx file, it always replace first one.Any help? IWorkbook workbook = new XSSFWorkbook(); ISheet sheet1 = workbook.CreateSheet("PictureSheet"); IDrawing patriarch...

View Article

New Post: CustomProperties in Excel (.xls): issue name and value in unicode,...

I want to add name-value pairs in the CustomProperties of an 97-2003 (.xls) Excel spreadsheet. Adding works, but name and value are inserted as unicode. The name is not not readable anymore (look like...

View Article


New Post: How can I change the long date format to short date format?

This is working well for me, using your code I added date formatting. The date is stored in Excel as the dateserial value so should behave correctly when sorting rather than pretending to be a date....

View Article

New Post: XLS file created from template doesn't save correctly - any ideas?

Hi, Using NPOI, I'm successfully creating a spreadsheet from an XLT template, but when I subsequently open the spreadsheet in MS Excel it still thinks it's an XLT template. I've checked through the...

View Article


New Post: HSSFColor

Slowpokes attacking! It was really hard find solution for XSSFColor, but I got it (think HSSFColor same): style.FillForegroundXSSFColor.SetRgb(new byte[] { Color.LightPink.R, Color.LightPink.G,...

View Article

New Post: NPOI 2.0 Source Code

Check out https://code.google.com/p/npoi/source/browse/ -- bridged from SVN to GitHub at https://github.com/svn2github/npoi You can find the XSSF and XWPF under the ooxml directory. The codeplex branch...

View Article


New Post: Number of columns

How do I get number of sheet's columns?

View Article

New Post: How can I change the long date format to short date format?

Thanks 540YMX it works fine for me.

View Article

New Post: How to read active-x control in excel using NPOI

HI......... I have a active-x checkbox control in my excel. I need to read the value of the active-x control i.e. the checkbox on the server...on my local machine as excel component is installed there...

View Article
Browsing all 1621 articles
Browse latest View live


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