473,395 Members | 1,680 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How do I exceed 65536 rows when I am creating an excel file

112 100+
I am creating an excel file, using the jxl jar, but I get this error when I go over 65536 rows:

Expand|Select|Wrap|Line Numbers
  1. Spreadsheet Generation failed in constructor
  2.  
  3. class jxl.write.biff.RowsExceededException
  4.  
  5. The maximum number of rows permitted on a worksheet been exceeded
  6.  
  7. jxl.write.biff.RowsExceededException: The maximum number of rows permitted on a worksheet been exceeded
  8.  
  9.         at jxl.write.biff.WritableSheetImpl.getRowRecord(WritableSheetImpl.java:813)
  10.  
  11.         at jxl.write.biff.WritableSheetImpl.addCell(WritableSheetImpl.java:789)
  12.  
  13.         at com.cboe.support.spreadsheetGenerator.writeOutliers(spreadsheetGenerator.java:1077)
  14.  
  15.         at com.cboe.support.spreadsheetGenerator.make(spreadsheetGenerator.java:150)
  16.  
  17.         at com.cboe.support.ReportGenerator.createSpreadsheet(ReportGenerator.java:204)
  18.  
  19.         at com.cboe.support.ReportGenerator.main(ReportGenerator.java:109)
  20.  
  21. The maximum number of rows permitted on a worksheet been exceeded
  22.  
  23. [Ljava.lang.StackTraceElement;@14233d3
  24.  
I know that excel 2007 and newer allow over 1 million rows. Is there a jxl jar that also that also?

Thanks
Nirav
Apr 15 '13 #1
1 8102
r035198x
13,262 8TB
The older binary HSSF has compatibility problems for more than 65536. You'll probably get the same issue even if you use Apache's POI. Consider restructuring the data, maybe multiple sheets or maybe even something else that is not excel for the storage. I wouldn't advise changing the third party API's code to remove the limit.
Apr 16 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Bertrand | last post by:
Hello, I am trying to archieve the following: - copy an excel file present on the server - insert values into named ranges of the copy I am using Excel97 on my PC, the server does not have...
2
by: JBAdamsJr | last post by:
I want to be able to create an Excel file with a VB.NET program on a server that does not have Microsoft Excel loaded on it. I am using the Jet OLE DB to read other data files. Can this be used to...
1
by: doctorhardik | last post by:
other interesting thing i observe during my work which i describe below: i am using dotproject2.0.4 on fc3. it is working fine. but i want to generate pdf file report during this time i face...
1
by: neehakale | last post by:
If anybody of you knows how to count the no of rows in the excel file then pls tel me....
1
by: Rastra | last post by:
Hi, I am working on a ASP.NET project where I need to create and export data into excel format. I have done it by using Miscrosoft Componets for excel but now I need to do it without using...
2
by: Anitha022 | last post by:
hai friends, i am new c#, i am doing project in c#, my work is i want to import an excel file and display the file in notepad that work is finished .... now i want to interchange the values (ie...
0
by: =?Utf-8?B?U0NhcnRlcg==?= | last post by:
I am working on a project where I need to create an excel file from our ASP.Net website and have it saved on a Macintosh computer. Currently, it is saving the .xls file just fine on the MAC, but...
2
by: vijayarl | last post by:
Hi Everyone, Am trying to collate the individual xls files into a single xls file.i have written this code. use strict; use Spreadsheet::WriteExcel; use Spreadsheet::ParseExcel; use...
2
by: mukeshmc | last post by:
I want create my output in excel file. But in server i cannot install office, its too costly i am developing it with vishual studio2005 with vb. so anybody can give the solution for this ...
0
by: ndedhia1 | last post by:
Hi, I need help updating my jtextarea. I am reading rows from an excel file and after it is done writing to the jtextarea, the excel file is rewritten with the old rows plus new rows and then...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.