New Post: New line in rich text cell prior to variable not working
"\r" in your first example (which doesn't work) isn't a new line character, it's a return character. You correctly use a new line character ("\n") in the second example, which does work."\n" is a new...
View ArticleNew Post: New line in rich text cell prior to variable not working
MarkBaker wrote:"\r" in your first example (which doesn't work) isn't a new line character, it's a return character. You correctly use a new line character ("\n") in the second example, which does...
View ArticleNew Post: New line in rich text cell prior to variable not working
Seems to work$outputFileType = 'Excel2007'; $outputFileName = './outputTest.xlsx'; $objPHPExcel = new PHPExcel(); $worksheet = $objPHPExcel->getActiveSheet(); // Plaintext example...
View ArticleNew Post: Vertical distributed alignment not setting
Just tested it with MS Excel 2013, and it's working correctly; it should work with all OfficeOpenXML format files since Excel 2002. But I've already been advised of one colour issue that doesn't work...
View ArticleNew Post: How to manipulate query results and cell formatting when looping...
PHP v5.5.11 PHPExcel v1.8.0, 2014-03-02 Windows 8.1 Pro x64 XAMPP 1.8.3 I am facing an issue with using PHPExcel to manipulate cell formatting and query results while looping through MySQL query...
View ArticleNew Post: PHPExcel & Pivot
Hi, any news on support of pivot table in PHPExcel ? What about PR 226 by loki36 ? A limited implementation like "do not touch sheets containing pivot" can be a start even I can understand it's easy to...
View ArticleNew Post: Allow toArray() method to return indexed columns
Hello, I think it would be really helpful if the toArray() method could return indexed columns ('1' instead of 'A'). Or maybe have a callback so that I could use this:...
View ArticleNew Post: Allow toArray() method to return indexed columns
The fourth argument for the toArray() method tells PHPExcel whether to do that or not /** * Create array from worksheet * * @param mixed $nullValue Value returned in the array entry if a cell doesn't...
View ArticleNew Post: How to properly write values with leading zeroes with its unknown...
I've created custom value binder, match them, and write using $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_STRING); But still recieve notifications in Excel about numbers written as...
View ArticleNew Post: How to properly write values with leading zeroes with its unknown...
If you explicitly set a numeric value as a string like that in PHPExcel, then you will get that message..... if you enter a numeric value in MS Excel itself with leading zeroes by typing it as '123...
View ArticleNew Post: How to properly write values with leading zeroes with its unknown...
I'm working with values like: 0406440452 017649106486 040 28803190 I can't create mutual format for them...Seems like matching these values by separate regexes and applying specific format is only way...
View ArticleNew Post: Issue in upgrading the PHP1.7.6 to 1.8.0
Hi, I am facing issue in upgrading the PHP 1.7.6 to 1.8.0. Currently my application providing proper output when I use the older version of PHP1.7.6. But when I replace existing dll with PHP1.8.0 the...
View ArticleNew Post: Problems with phpexcel
When i read a xls file, to later upload it to a database, the internet page doesn't load and the data is recorded in the database( but more than once), while it works perfectly fine with xml and xlsx...
View ArticleNew Post: xlsb in PHPExcel
Do you have plans to introduce saving Excel files in binary format, .xlsb? If so, do you have an approximate timeframe?
View ArticleNew Post: setCellValue of Stirng returns a number
Hi Mark, So sorry to be late. I wasn't able to answer. So sorry too, 'cause it's works fine, just a mistake I did with my file's name. So thank you again Cheers
View ArticleNew Post: The function isEmptyElement is available under PHPExcel ?
Hi, How to test is a node exists in a while condition ? Thank you
View ArticleNew Post: The function isEmptyElement is available under PHPExcel ?
What kind of a node? A cell?if ($objPHPExcel->getActiveSheet()->getCellCacheController()->isDataSet('B2')) { ... } will return a true/fasle if the cell exists or not
View ArticleNew Post: The function isEmptyElement is available under PHPExcel ?
Hi Mark, Not a cell. I open an .xlsm Excel sheet and I try to extract somme values of nodes which have either a number value or a formula. In the case of formula a special node of type "f" does exist...
View ArticleNew Post: The function isEmptyElement is available under PHPExcel ?
To get the datatype of a cell:$objPHPExcel->getActiveSheet()->getCell('B2')->getDataType(); Valid datatype values are defined in /Classes/PHPExcel/Cell/DataType.php
View Article