New Post: Double quote possibly breaking formatting
Can you show an example of your format string: formatting strings containing " should work correctly as long as there are matching closing quotes; or were you trying to embed a lietral quote in the...
View ArticleNew Post: How to apply a rule for an AutoFilter?
Thank you for your quick answer. I don't really understand what showHideRows() do to the line . I just call this method like this : $objPHPExcel -> showHieRows() at every iteration and then I test...
View ArticleNew Post: Double quote possibly breaking formatting
I'm not certain what's causing it at the moment, I'm still trying to recreate the problem. However, rather than setting the style for each cell individually immediately after you write the cell, it's...
View ArticleNew Post: Integrating Phpexcel in Zend Framework 2
Hi am integrating php excel to my project but am facing this error.Catchable fatal error: Argument 1 passed to PHPExcel_Worksheet::__construct() must be an instance of PHPExcel, instance of...
View ArticleNew Post: Error when resolving formulas referencing other worksheets
Just for example, I have a sheet named "1" and a sheet named "2". In worksheet "2" there is a cell whose contents are the formula "='1'!F4".$objPHPExcel->setActiveSheetIndexByName("2"); $sheetData =...
View ArticleNew Post: Error when resolving formulas referencing other worksheets
So I've been working around the issue, and just ran into another, much like the 2nd block above. I have the following (I have sheets named 1-days of the month that I pull the same cell from on...
View ArticleNew Post: Error when resolving formulas referencing other worksheets
Give your worksheets a name beginning with an alpha character, or modify the formulae so that the worksheet name is quoted (ie ='2'!A1) rather than =1!A1) and it should fix this problem. And in the...
View ArticleNew Post: Error when resolving formulas referencing other worksheets
I was JUST able to come to the same conclusion. I found this page: https://phpexcel.codeplex.com/workitem/15884 that details the problem. I created my own spreadsheet with values with sheetnames both...
View ArticleNew Post: Error when resolving formulas referencing other worksheets
So I did me some grepping, and on line 2164 of Calculation.php, there is the line:$result = self::_unwrapResult($this->_calculateFormulaValue($pCell->getValue(), $pCell->getCoordinate(),...
View ArticleNew Post: From Excel (xls/xlsx) to MySql Database
Hi, I have an important project that requires XLS/XLSX files to be uploaded to Mysql Database. I stumbled upon PHPEXCEL and have been trying to write a script but without much success as I am new to...
View ArticleNew Post: From Excel (xls/xlsx) to MySql Database
Hum... A small example easy, directly from the documentation (4.5.5):<?php $objReader = PHPExcel_IOFactory::createReader('Excel2007'); $objReader->setReadDataOnly(true); $objPHPExcel =...
View ArticleNew Post: From Excel (xls/xlsx) to MySql Database
So kind of you Lwol to respond immediately. I will start working immediately and keep you updated. Before that I will go thru' the documentation which I didn't earlier. Thanks again.
View ArticleNew Post: setPreCalculateFormulas removes formulas from sheet?
Same issue on two different systems: Mac OS 10.6, PHP 5.3.10, PHPExcel 1.7.8 CentOS 5.5, PHP 5.3.3, PHPExcel 1.7.8 I have a spreadsheet that contains "COUNTIFS" ... I know that PHPExcel does not "know"...
View ArticleNew Post: From Excel (xls/xlsx) to MySql Database
LWol wrote: Hum... A small example easy, directly from the documentation (4.5.5): ``` It shows the course of all cells in a worksheet, without the use of iterators. The contents of cells are displayed,...
View ArticleNew Post: From Excel (xls/xlsx) to MySql Database
LWol wrote: Hum... A small example easy, directly from the documentation (4.5.5): It shows the course of all cells in a worksheet, without the use of iterators. The contents of cells are displayed, but...
View ArticleNew Post: From Excel (xls/xlsx) to MySql Database
Well... You need to have something like : INSERT INTO YourTable (FieldUsername, FieldEmail, FieldGender, FieldCountry) VALUES ('psb', 'psb67@hotmail.com', 'M', 'India'), ('naga', 'naga@hotmail.com',...
View ArticleNew Post: Strange behaviour with formulas in different sheets
Hi, I'm doing some debugging for a problem I have regarding formulas not getting parsed correctly. Its getting there but I discovered some strange behavior when doing some testing using a formula that...
View ArticleNew Post: Strange behaviour with formulas in different sheets
Neither of these formulae should work as you're using a semi-colon (;) as your function argument separator rather than a comma (,) But index numbering of sheets isn't relevant to the calculation at...
View ArticleNew Post: setPreCalculateFormulas removes formulas from sheet?
I've never experienced this at all. setPreCalculateFormulas to False simply stops the save from executing the calculation engine to retrieve the calculated value for every cell. The actual formula...
View ArticleNew Post: Making pivot tables
Mark - answer is quite simple. I'm personally simply way too dumb to handle something that complex :) Which causes me to have great deal of admiration to people such as yourself. I've been using...
View Article