使用poi操作excel,有的时候需要获取列名,比如要将写入公式sum(A1,Z1)
所以,这个时候 需要获取列名。这就用到了下边的转换函数
CellReference.convertNumToColString(int columnIndex)
columnIndex 是HSSFCell对象的属性
cell.getColumnIndex();
所以,这个时候 需要获取列名。这就用到了下边的转换函数
CellReference.convertNumToColString(int columnIndex)
columnIndex 是HSSFCell对象的属性
cell.getColumnIndex();