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

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

WBOY
Release: 2016-06-23 14:18:59
Original
830 people have browsed it

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


回复讨论(解决方案)

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

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template