简体   繁体   English

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

[英]How to write into existing excel file using JExcel

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. 嗨,我是这个JExcel API的新手,我想写到现有的Excel工作表中,并希望将更改保存在该文件中。 I don't have an idea about how to do it in JExcel? 我不知道如何在JExcel中执行此操作?

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. 为了让您开始更改此excel文件,此后,您只需要使用JExcel浏览该文件,这非常容易。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM