首页 > 代码库 > Java excel poi

Java excel poi

getPhysicalNumberOfCells:得到的是除去空列得到的cell个数

hssfSheet.getLastRowNum();//最后一行行标,比行数小1
hssfSheet.getRow(k).getLastCellNum();//获取列数,比最后一列列标大1

http://blog.csdn.net/evilcry2012/article/details/51103574

http://blog.csdn.net/yanglyangl429/article/details/51970810

Java excel poi