New Post: Laravel with phpExcel
I just using composer install phpExcel in Laravel and follow its example, however,the first sample 01simple-download-xlsx will caused MS Excel 2010 error message "Excel cannot open the file myfile.xlsx...
View ArticleNew Post: Can't configure pdf library path
This class is in the mPDF.php file in Classes\PHPExcel\Writer\PDF. The $rendererLibraryPath seems to point in the same place. You wouldn't crush the PHPExcel file by the mPDF library?
View ArticleNew Post: getValue from .xls returning mangled text
Thanks for your response. Is there a way to correctly identify the file type? I have a feeling this document I am trying to read was a .dbf.
View ArticleNew Post: print a range area
Perhaps... setAutofilter returns a Worksheet object, which is unlikely to match what you want, and that is not viewable (except by a var_dump or equivalent). The cells you want to display are selected...
View ArticleNew Post: print a range area
in this case what i have to do is store the content of the range area C4:A4 in a variable and after print it. How can i do it? I can't find other example in a phpExcel documentation. thanks
View ArticleNew Post: getValue from .xls returning mangled text
Open the file with a hex editor or a simple viewer of DBase files. If he tells you that he cannot open it, is that it is not a DBase file. If you use the first, look if the signature matches (see...
View ArticleNew Post: print a range area
You can use rangeToArray : $arrayValues=$objPHPExcel->getActiveSheet()->rangeToArray('C4:E4'); $arrayValue contains a simple array with your 3 values.
View ArticleNew Post: print a range area
This is my code: $arrayValues=$objPHPExcel->getActiveSheet()->rangeToArray('C2:E2'); $total= count($arrayValues); for ($i=0 ; $i<= $total ; $i++){ echo $arrayValues[$i]; } } but i have this...
View ArticleNew Post: print a range area
ah, yes, you have an array by row, with an array with row cells (do a var_dump to see).$F=$objPHPExcel->getActiveSheet(); //values for test $F ->setCellValue('C2', 10) ->setCellValue('D2', 20)...
View ArticleNew Post: getCalculatedValue returning period instead of number value
I'm using PHPExcel 1.7.9 with PHP 5.3.5 and I'm encountering something odd when iterating an Excel file created with Excel 2010. I have a column of data that contains simple whole numbers (formatted as...
View ArticleNew Post: getCalculatedValue returning period instead of number value
If you want to retrieve the value as it appears when viewing it in Excel then you need to use getFormattedValue() instead of getCalculatedValue(). getCalculatedValue() ignores any styling/formatting...
View ArticleNew Post: PHPExcel Pie chart Problem
i'm also having the same problem, when i download the file generated by PHPexcel and open it with Microsoft Excel 2007 in windows 7 it gives me the fallowing error, "Excel found unreadable content in...
View ArticleNew Post: PHPExcel Pie chart Problem
Found the solution to my problem in this thread Problem with creating charts
View ArticleNew Post: getCalculatedValue returning period instead of number value
Thank you for the suggestion. I tried getFormattedValue() and it returns a period as well. I've put together a much simpler spreadsheet with two columns that illustrate the error. Row 1 has header...
View ArticleNew Post: Can't configure pdf library path
hey maybe this post can help you.... this is how i made it>http://stackoverflow.com/questions/20409494/how-to-configure-phpexcel-for-pdf
View ArticleNew Post: Export multiple records,join query,multiple looping
I have two tables as following: NOTE TABLE Note Id, Description 1, description1 2, description2 3, description3 4, description4 SUBNOTE TABLE Notes Refence ID, Description, value 1, subnote1,1 2,...
View ArticleNew Post: Error in PHPExcel\Writer\Excel2007\Workbook.php on line 350
I have developed code that creates an array to hold a report structure and then dumps it into excel. So far it has been working flawlessly until I upgraded to Windows 7 Enterprise... I am now getting...
View ArticleNew Post: Uploading xls/xlsx files and to import it using phpexcel to mysql
I'm really new to Phpexcel so i don't really know to make use of this. I'm in a middle of a project right now An Online Grading System for my school and i need to make a module to upload Excel files to...
View ArticleNew Post: PHPExcel slow
I know this is an issue and I have been reading up on it and trying to fix it but still it seems to take a long, long very long time to read only very small files. Situation: Reading a xls file of...
View Article