New Post: How to remove existing conditional formatting?
Thanks for that. I thought I had subscribed but I did not see this for 1-1/2 weeks. This is just what I was looking for. And I created the ByRowAndColumn version as well. Works a treat. Thanks again.
View ArticleNew Post: Undefined method PHPExcel_CachedObjectStorage_Memory::getStyle()
Hi Mark, I installed PHPExcel via composer for use within Zend Framework 2.1. The classes appear to autoload fine and I can load a file for reading. However, when...
View ArticleNew Post: How To Get the sheet names?
Hi all, I've been looking for any tutorial for PHPExcel 1.7.8 to work with my newest version of Codeigniter on Win 7. It's working, actually, but I'm looking to get the sheet names. On the...
View ArticleNew Post: Formating Columns
Like in Excel : a Number Format with plenty of zero ($worksheet->getStyle('A1')->getNumberFormat()->setFormatCode('0000000000')) or writing your cell as string...
View ArticleNew Post: How To Get the sheet names?
you can also use $objReader->listWorksheetNames($file); to get an array of all sheet names in the file
View ArticleNew Post: Formating Columns
Hello LWol, thanks the third solution is perfect for me. Now the values are with 0000.... in the columns. Thank you very much for your help. Best Regards, Frank
View ArticleNew Post: Demo doesn't work on my Mac
Do you have an answer? None of your demo scripts work, and all of them are giving some sort of error in the worksheet.php script. Y'all could save me a whole lot of work if I could get up and...
View ArticleNew Post: How to generate reports with records showing in different tabs
I am using PHPExcel Helper to generate reports for my application. What i would like to do is that the report output should created per tab. For example record with id = 1 shows on its tab and id =2...
View ArticleNew Post: How To Get the sheet names?
Massi wrote: you can also use $objReader->listWorksheetNames($file); to get an array of all sheet names in the file That's it! I find it easier using this. Now My codes are:$sheets =...
View ArticleNew Post: Create Multiple Worksheet from MySQL Data and loading template
Hi egocentric13 I also have the same issue has 1 you had before. Do you mind posting some sample code on how you using the copy () and addSheet methods? Thanks in advance
View ArticleNew Post: Undefined method PHPExcel_CachedObjectStorage_Memory::getStyle()
Yes, a bug... the develop branch on github contains a refactoring of the Worksheet/CellCollection/Cell relationships looking at reducing memory usage by eliminating duplicated data - I missed that...
View ArticleNew Post: Add an image to the header/footer
What Writer are you using for your saved workbook?
View ArticleNew Post: Chart LineChart Styles
I'm trying to create a Line Chart where I want only the markers, not the lines. Actually, I'd like to produce a combination of Lines and No Lines Series. I have my LineChart generating ok but fail to...
View ArticleNew Post: Create Multiple Worksheet from MySQL Data and loading template
To jaahvicky, Here's what I did: $xls = new PHPExcel(); $objReader = PHPExcel_IOFactory::createReader('Excel5'); $objPHPExcel = $objReader->load("templates/mytemplate.xls"); $sheetTemplate =...
View ArticleNew Post: How I put a range for the y-values in a Bar Chart
I'm trying to do a Bar Chart. I achieved print the chart but I want put different lines to divide the chart area. The result more or less have to seem like...
View ArticleNew Post: How to determine if an excel column is formatted as a date?
PHPExcel_Shared_Date::ExcelToPHP is provided $onevalue=$cell->getCalculatedValue(); $onevalue=date('Y-m-d',PHPExcel_Shared_Date::ExcelToPHP($onevalue));
View ArticleNew Post: Problem with charts on multiple worksheets
Hi all, I'm new in PHPExcel and have successfully written code to output multiple worksheets in a workbook, i.e. showing sales of employees with one worksheet per employee. Now I'm trying to create...
View ArticleNew Post: Memory exhausted writing file
I have a simple program that generates a file with 11 columns and more than 1100 rows (so more than 121,000 cells). A simple formatting (bottom border) and that's it. But I have a memory exhausted on...
View ArticleNew Post: Modifying 33chartcreate-multiple-charts.php for multiple worksheets
Hi all, can anyone provide a sample code for creating the same chart from different data, each worksheet containing one chart? I tried to modify 33chartcreate-multiple-charts.php but I couldn't get...
View Article