title: Column limit in jxlapi for producing excel files from Java
body: <p>I want to produce an excel file using Java and jxlapi. But it is not allowing me to use more than 256 columns. I want to increase the column limit to at least 1000.</p>
  
  <p>I tried ApachePOI also but the same problem.It is not allowing me more than 256 columns.</p>
  
  <p>Any insight on how to achieve this?</p>
  
  <p>Here is my simple implementation of Apache POI which sends me into a never ending loop of importing libraries.. :(</p>
  
  <pre><code>import java.io.FileOutputStream;
  import java.io.IOException;
  
  import org.apache.poi.xssf.usermodel.XSSFRow;
  import org.apache.poi.xssf.usermodel.XSSFSheet;
  import org.apache.poi.xssf.usermodel.XSSFCreationHelper;
  import org.apache.poi.xssf.usermodel.XSSFWorkbook;
  import org.apache.poi.xssf.usermodel.XSSFCell;
  
  
  
  public class CreateExcel {      
      public static  void main (String args[]) throws IOException {       
  
          XSSFWorkbook wb = new XSSFWorkbook();
          XSSFSheet sheet = wb.createSheet("new sheet");
      XSSFRow row1 = sheet.createRow((short)0);
      XSSFRow row2 = sheet.createRow((short)0);
  
      XSSFCell tempcell1 = row1.createCell(3);
      tempcell1.setCellValue(1000);
      FileOutputStream fileOut = new FileOutputStream("/home/abhishek/Desktop/workbook1.xls");
      wb.write(fileOut);
      fileOut.close();    
  }
  }
  </code></pre>