2

I am trying to make a program through which i want to manipulate data in the excel sheet, But data is being manipulated only when the excel sheet is open. whats the process to open and close it using java coding.

1
  • 1
    you can use apache poi (poi.apache.org) for accessing excel sheets in java. Commented Feb 3, 2011 at 12:58

2 Answers 2

7

You can use POI to read and write Excel sheets.

This article is interesting to understand how to use it :

http://onjava.com/pub/a/onjava/2003/04/16/poi_excel.html

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

1 Comment

I am using JEXCEL ,whats the process to open through it
0

Hey look, there's a tutorial on how to do this link from the JExecel website!

http://www.andykhan.com/jexcelapi/tutorial.html

Side note: It looks like JExcel is file based only. This means you can't interact with an open spreadsheet. If you need to interact with an open spreadsheet you will have to use JNI or a library such as J-Integra COM, which uses JNI.

1 Comment

Thanks alot. I feel this tutorial will help me alot

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.