原文转自:http://www.tqcto.com/article/recommend/135.html
使用poi操作excel,有的时候需要获取列名,比如要将写入公式sum(A1,Z1)
所以,这个时候 需要获取列名。这就用到了下边的转换函数
CellReference.convertNumToColString(int columnIndex)
columnIndex 是HSSFCell对象的属性
cell.getColumnIndex();
原文转自:编程技术
原文转自:http://www.tqcto.com/article/recommend/135.html
使用poi操作excel,有的时候需要获取列名,比如要将写入公式sum(A1,Z1)
所以,这个时候 需要获取列名。这就用到了下边的转换函数
CellReference.convertNumToColString(int columnIndex)
columnIndex 是HSSFCell对象的属性
cell.getColumnIndex();
原文转自:编程技术