Results 1 to 4 of 4
  1. #1
    JBurk94 is offline Member
    Join Date
    Mar 2014
    Posts
    1
    Rep Power
    0

    Default Outputting to Excel Document

    I am currently working towards taking input from the user and storing it in an excel document. However how can I test to make sure that I am trying to save it to an empty cell. Is there some type of method that will check to make sure the cell is empty, otherwise how can this be done?

  2. #2
    jashburn is offline Senior Member
    Join Date
    Feb 2014
    Posts
    219
    Rep Power
    1

    Default Re: Outputting to Excel Document

    Are you referring to having a Java application to get input from a user, and then store the input into an .xls document? If so, you'll be better off using a library such as Apache POI - the Java API for Microsoft Documents. The exact way to do this is described at java - Edit existing excel files using jxl api / Apache POI - Stack Overflow.

  3. #3
    yushulx is offline Member
    Join Date
    Mar 2014
    Posts
    1
    Rep Power
    0

    Default Re: Outputting to Excel Document

    You can read the article - How to Read and Write Excel Files in Java

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,925
    Rep Power
    19

    Default Re: Outputting to Excel Document

    That link really shows next to nothing about the OP's question.
    The POI documentation has far more thorough examples...
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. How to Convert Excel document to word document?
    By sudheer.v47 in forum Advanced Java
    Replies: 3
    Last Post: 05-09-2014, 09:26 AM
  2. Appending an Excel Document
    By j0sh77 in forum New To Java
    Replies: 0
    Last Post: 06-02-2013, 06:17 PM
  3. Replies: 0
    Last Post: 08-29-2012, 08:26 AM
  4. JFormattedTextField, Document Filter, Document Listener
    By D.Calladine in forum AWT / Swing
    Replies: 1
    Last Post: 03-21-2012, 11:48 PM
  5. Printing excel document without opening
    By bihuboliya in forum Advanced Java
    Replies: 4
    Last Post: 03-22-2011, 02:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •