New Post: Weird Cell values with a date format
Hi, The project I'm working on had to be an Excel export of the sold tickets, so that's how i came across PHPExcel. It works great but now the accountant want's to have the invoice column to be a date...
View ArticleNew Post: Data from database and custom cells
If this value is displayed immediately after loading, one would tend to think that the original workbook contains ten sheets. If this is really not the case... Something disrupts the reader, this will...
View ArticleNew Post: Clone and write .xlsm
Officially, PHPExcel supports not macros. One "does not work" is not a great help to correct the problem that there may be in the patch. There's error messages? The added methods give an unexpected...
View ArticleNew Post: Clone and write .xlsm
Hi, this is code /** Error reporting / error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('display_startup_errors', TRUE); define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); /*...
View ArticleNew Post: How to know the type of a sheet in workbook?
In an Excel workbook there can be 2 or more type of sheet, for example worksheet and chart as a sheet. I am trying the following code:<?php require_once 'plug-ins/phpexcel/PHPExcel.php';...
View ArticleNew Post: Clone and write .xlsm
Using the supplied workbook and your code (proper close of comment line 1, adding a tag of opening php, adaptation of the paths to my environment), I get a workbook where the small macro functions...
View ArticleNew Post: PHPExcel Issue with calculating cell formula
The problem started in a very complex worksheet but I reduce it to a very simple but still having the same problem. PHPExcel is not calculating the formula, but if I change to a simple one (=B3) it...
View ArticleNew Post: PHPExcel Issue with calculating cell formula
Perhaps the fact that the VALUE() function hasn't yet been implemented in PHPExcel has something to do with it: this is documented
View ArticleNew Post: How to load or display a specific sheet in the browser
Hi there, I just recently used PHPExcel and I want to know how to display an excel file into the browser as an HTML. I have succeeded in displaying the first sheet of an excel file but I also want to...
View ArticleNew Post: How to load or display a specific sheet in the browser
Call theHTML Writers writeAllSheets() method before saving: $objWriter->writeAllSheets();
View ArticleNew Post: How to load or display a specific sheet in the browser
Thanks, you're a great help. :)
View ArticleNew Post: setPreCalculateFormulas removes formulas from sheet?
They are array formulas, indeed. Interesting that they're completely removed from the cells. At least now I know why.
View ArticleNew Post: PDF export not using font name setting
I am using PHP excel to generate a XLS or PDF file as desired by the user. The XLS export uses my font name settings but my PDF export always defaults to DejaVuSerifCondensed-Bold. I am using the...
View ArticleNew Post: PDF export not using font name setting
I suspect that the mPDF library probably requires the font available when it renders the file
View ArticleNew Post: how can I Change the chart colors
how can I Change the chart colors ? i need your help,please.
View ArticleNew Post: Errors adding data validation on data validation field
I'm creating a list with Work Places like so (sheet 2 by name "dataValidation") $sql->query("select * from workPlaces order by workPlaceName ASC"); while($sql->get_assoc()){...
View ArticleNew Post: Errors adding data validation on data validation field
Sorry, all sorted out! didn't know that setting formulas you have to use comma instead of semicolon.
View ArticleNew Post: Can I copy cell formats from a template file?
Hi Forum, Apologies if this is a noob question - I have tried doing a bit of Googling first. I am using PHPExcel to effectively create some invoices while looping through records in a database table...
View ArticleNew Post: PDF writer delivers empty document
I have an app that reads info from a db and delivers it to the user as either a xls or a pdf file. When xls is chosen, it returns several thousand rows, whereas the pdf choice delivers an empty...
View ArticleNew Post: UK formatted date appearing as US format
Hi folks, I'm reading an Excel 2007 .xlsx file (created in the United Kingdom locale) containing a few dates which have been automatically formatted in Excel to UK format, so they appear as (eg.)...
View Article