2

Is there any way of taking the data from an Excel-document and putting it in a 2-dimensional array using Java? I'm interested in using the data as Strings if it makes any difference.

thanks :)

1
  • 3
    How does your excel document data look like? Do you know Apache POI? If you don't, you should :) Commented Dec 26, 2011 at 22:32

3 Answers 3

3

What about Java Excel API? Very simple to use.

Sign up to request clarification or add additional context in comments.

Comments

2

Use a pure-Java library. There are a few that are mature, although they're not completely bug-free. The best are Apache POI and JExcelAPI. JExcelAPI is pretty old. POI seems to have more support. I've used both.

Comments

0

You can use the COM API through OLE automation and get the data out that way. This is an example of doing it with Java.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.