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.
2 Answers
You can use POI to read and write Excel sheets.
This article is interesting to understand how to use it :
1 Comment
Prachur
I am using JEXCEL ,whats the process to open through it
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
Prachur
Thanks alot. I feel this tutorial will help me alot