Home  >  Article  >  Backend Development  >  phpexcel的问题,如何写入已存在的excel

phpexcel的问题,如何写入已存在的excel

WBOY
WBOYOriginal
2016-06-23 14:18:59759browse

比如一个excel里面本身就有1000行数据了
我现在想要在他的第1001行,再写数据,怎么做?


回复讨论(解决方案)

有什么区别吗?
写单元格不是要指定位置的吗?
$o->getCell("A1001")->setValue('xxxx');

而 getHighestRow 方法可取的共有多少行

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:thinkphp模板使用问题Next article:mysql to json的问题