New Post: error : Sheet index is out of bounds
Hi guys, We've encountered this problem too, and the workaround of commenting out lines 1717 to 1780 solved it. We've cross posted this to Github as well. Not sure if removing these lines will affect...
View ArticleNew Post: Fetch mysql data into existing Excel template.
$objPHPExcel = PHPExcel_IOFactory::load("myExistingTemplate.xls"); $col = 1; while($row_data = mysql_fetch_assoc($result)) { $row = 1; foreach($row_data as $value) {...
View ArticleNew Post: error : Sheet index is out of bounds
Simply commenting out that block of lines will have adverse effects with some worksheets, especially if they contain formulae using defined names. You can upload a file to...
View ArticleNew Post: Fetch mysql data into existing Excel template.
Hi Mark, Thanks for your reply. But I don't understand how you are mapping A1 cell to insert value in B1 Cell and similarly for other cells as well. As I don't have much idea about PHP, please do help...
View ArticleNew Post: Fetch mysql data into existing Excel template.
This code isn't mapping anything: your database query should be doing the mapping.... returning only the columns you want and in the order that you want them
View ArticleNew Post: [PHPExcel] - print failed after php generation
"Print Peview" has nothing to do with PHPExcel, it's part of the MS Excel GUI application. Check that you have a printer set up, otherwise MS Excel doesn't allow you to do a print preview
View ArticleNew Post: Fetch mysql data into existing Excel template.
I'm just fetching the columns I need from table. But not sure how exactly to map it in queries.
View ArticleNew Post: Fetch mysql data into existing Excel template.
Here is what I'm trying to do in my code, pls. let me know what modifications I've to do.<?php $con = mysql_connect("localhost","root","pwd"); if (!$con) { die('Could not connect: ' ....
View ArticleNew Post: Fetch mysql data into existing Excel template.
(my apologies to intrude on the subject, Mark) Perhaps easier to understand:$row = 2; / / whereas the first line contains a header, otherwise 1 $S = $objPHPExcel->getActiveSheet(); while($ row_data...
View ArticleNew Post: [PHPExcel] - print failed after php generation
I find the solution of my issue. It's the Excel 2003 compatibility who crashed my preview and my print. If i only make a generation on Excel 2007 that's work. thank you for your help =) S0r4
View ArticleNew Post: How to center align cells
RESOLVED - sorry it was a user error. I had code below these lines that set the alignment back to HORIZONTAL_LEFT. When I removed that line, all worked fine. Sorry for the bother!
View ArticleNew Post: Incorrect Image Aspect Ratio
Hello, I see that you posted this in Aug 2012. I'm hoping that you have found a resolution for this problem. If so, could you please share it with me?
View ArticleNew Post: error : Sheet index is out of bounds
Hi MarkBaker, Thanks! I've uploaded the file called LTETestFile (2sheets 1prob).xlsx
View ArticleNew Post: Chart legend doesn't appear
I have always the problem of the legend. Someone else have it this problem ?
View ArticleNew Post: Getting a checkbox or form field
Is it possible to get the value of a checkbox or form field using the latest version of PHPExcel? Or will I need to use an Excel COM object instead? Thanks!
View ArticleNew Post: How to use PHP EXcel functionality.
Please let me know the process to use PHP Excel functionality as i required to export a recordset created with multiple tables to excel file in core php. But i dont know the process to download and use...
View ArticleNew Post: How to use PHP EXcel functionality.
to download, go to the Home page (by clicking on the "Home" tab); then click on the download button. To use, read some of the documentation, and look at some of the examples in the /Tests directory of...
View ArticleNew Post: Getting a checkbox or form field
PHPExcel does not support form elements such as checkboxes or fields, you'll need to use COM or PUNO for this
View ArticleNew Post: error : Sheet index is out of bounds
There should now be a working fix for this in the develop branch on github
View ArticleNew Post: How to use PHP EXcel functionality.
i have installed PHP excel in my wamp server . But when i run the tests page it shows the below error: Fatal error: require_once(): Failed opening required '../Build/PHPExcel.phar'...
View Article