working suma not php phpexcel

suma - set formula 1 phpexcel



¿Hay un método en PHPExcel para escribir una matriz de PHP directamente en una fila? (1)

$objPHPExcel->getActiveSheet()->fromArray($testArray, NULL, ''A1'');

Se usa en varios ejemplos

Argumentos como se describe en los documentos API

/** * Fill worksheet from values in array * * @param array $source Source array * @param mixed $nullValue Value in source array that stands for blank cell * @param string $startCell Insert array starting from this cell address as the top left coordinate * @param boolean $strictNullComparison Apply strict comparison when testing for null values in the array * @throws Exception * @return PHPExcel_Worksheet */

Entiendo que necesitaré escribir un bucle dentro del cual uso SetCellValue(''cell_name'', ''value'') ; pero, ¿hay un método en PHPExcel que solo acepte una única matriz y la escriba en una fila de hojas de Excel?

Algo como:

$testArray = array(''testcelltext1'', ''testcelltext2'', testcelltext3''); PHPExcel::writeArraytoRow($testArray); //do the other PHPExcel stuff to actually write the file . . . // outputs an excel file in which the PHP array was written to the first row

No pude encontrar algo así en la documentación incluida, pero eso podría ser una mala habilidad de búsqueda de PDF ...