热搜:NVER node 开发 php

PHPexcel导入

2024-07-22 20:35:01
PHPexcel导入

PHP Fatal error:  Uncaught exception 'PHPExcel_Exception' with message 'Invalid cell coordinate 2A' in D:\phpweb\huajun\php\PHPExcel\Cell.php:546
Stack trace:
#0 D:\phpweb\huajun\php\PHPExcel\Worksheet.php(1134): PHPExcel_Cell::coordinateFromString('2A')
#1 D:\phpweb\huajun\php\include\include.php(1696): PHPExcel_Worksheet->getCell('2A')
#2 D:\phpweb\huajun\php\upload_excel.php(19): uploadFile('login (1).xls', 'D:\\php5.5\\tmp\\p...')
#3 {main}
  thrown in D:\phpweb\huajun\php\PHPExcel\Cell.php on line 546


总记录列已超过26,应该怎么处理!


回复讨论(解决方案)

Invalid cell coordinate 2A
无效的单元格坐标2A

Excel 的单元格都是 A2(列行)这样标识的