如何使用java代码在excel中插入行 [英] How to insert a row in excel using java code

查看:1199
本文介绍了如何使用java代码在excel中插入行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有关于使用java代码处理数据的问题,需要你的帮助,如下所示:

1.如何在另一行表格excel下面插入1行或多行?



2.如何清除某些行的数据而不会丢失这些行的格式?



3.如何格式化为单元格中的单元格,如字体粗体,边框和颜色。



i使用excel API(jxl-2.6.jar)来处理excel在java中





提前致谢

I have home question about handle data at excel using java code which need to your help as below:
1. how to to insert 1 row or many rows at below another row of sheet excel?

2. How clear data of some some rows without don''t lose formatting of these rows?

3. how to format to cell in sheet such as font bold, border and color.

i am using excel API(jxl-2.6.jar) to handle excel in java


Thanks in advance

推荐答案

检查 insertRow 方法此处 [ ^ ]。


这篇关于如何使用java代码在excel中插入行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆