PHPExcel 通过行号列号获取单元格


$objPHPExcel = new PHPExcel();

$objPHPExcel->setActiveSheetIndex(0)->getCell(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow);


	$pCoordinate = PHPExcel_Cell::stringFromColumnIndex($pColumn);
	$objPHPExcel->setActiveSheetIndex(0)->getColumnDimension($pCoordinate)->setAutoSize(true);

你可能感兴趣的:(java)