如何使用JExcel写入现有的excel文件

时间:2021-04-27 20:27:14

Hi I am new with this JExcel API and I want to write into existing excel sheet and want to save the changes in that file. I don't have an idea about how to do it in JExcel?

嗨,我是这个JExcel API的新手,我想写入现有的Excel工作表,并希望保存该文件中的更改。我不知道如何在JExcel中做到这一点?

2 个解决方案

#2


0  

Have you tried reading the documentations?

你试过阅读文件吗?

I've used JExcel and it's an easy framework.

我使用过JExcel,它是一个简单的框架。

try this one http://www.andykhan.com/jexcelapi/tutorial.html

试试这个http://www.andykhan.com/jexcelapi/tutorial.html

Tö get you a start change this your excel file, after that you just need to browse the file with JExcel it's pretty easy.

Tö让你开始更改你的excel文件,之后你只需要用JExcel浏览文件就很容易了。

Workbook workbook = Workbook.getWorkbook(new File("myfile.xls"));

#1


#2


0  

Have you tried reading the documentations?

你试过阅读文件吗?

I've used JExcel and it's an easy framework.

我使用过JExcel,它是一个简单的框架。

try this one http://www.andykhan.com/jexcelapi/tutorial.html

试试这个http://www.andykhan.com/jexcelapi/tutorial.html

Tö get you a start change this your excel file, after that you just need to browse the file with JExcel it's pretty easy.

Tö让你开始更改你的excel文件,之后你只需要用JExcel浏览文件就很容易了。

Workbook workbook = Workbook.getWorkbook(new File("myfile.xls"));