New Post: Access a multi-sheet spreadsheet
Hi Mark, Thanks for your reply. I've altered my code: if (file_exists($storagename)) { $cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_discISAM;//<-------------------------Added...
View ArticleNew Post: Call to a member function cellExists() on a non-object in...
Call to a member function cellExists() on a non-object in PHPExcel/Calculation.php on line 3209 I'm doing this: $objPHPExcel->setActiveSheetIndexByName($dataSheet); $data =...
View ArticleNew Post: Some parts of this workbook may have been repaired or discarded !
I have something relevant to post here and I hope that will resolve your issue. How to Repair Corrupted Excel File? This is the blog you need to read. In this blog, more than a couple of manual tricks...
View ArticleNew Post: Cant generate excel
how to get rid of this error?<p>Severity: Warning</p> <p>Message: ZipArchive::open() [<a href='ziparchive.open'>ziparchive.open</a>]: Unable to access...
View ArticleNew Post: mysql datas to phpexcel
hello i want to use the 10autofilter.php from phpexcel, to our program. but i want a code that will print on excel the datas on our database since its only prints row 1 and doesnt print all data on our...
View ArticleNew Post: mysql datas to phpexcel
now this image link is the error i get but it executes on excel the output please see image
View ArticleNew Post: Stopping at blank cell or specific content
Hello. I am using a code from the internet that can display upload excel file and convert it to table html. but it also include spaces or blank cells. Is there a way to stop at blank cell? Please...
View ArticleNew Post: Auto height not working for me.
There's also a problem setting autoHeight in phpExcel examples: 01simple.php Here's the code:<?php require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; $objPHPExcel = new PHPExcel();...
View ArticleNew Post: freezePane() reset result setSelectedCell()
after use freezePane() reset current active cell to first cell after freeze line example:$data->getActiveSheet()->setSelectedCell('B2'); - active cell B2...
View ArticleNew Post: Auto height not working for me.
Solved by editing file "phpoffice\phpexcel\Classes\PHPExcel\Writer\Excel2007\Worksheet.php" (lines 1001:1004): All I did was adding else block like this...private function...
View ArticleNew Post: Temp files not being cleaned up when writing sheet to disk
PHP 5.3.27 PHPExcel 1.7.9 Windows 7, 64-bit I have the following code:PHPExcel_Settings::setZipClass( PHPExcel_Settings::PCLZIP ); $filename = "my_file_" . date( "Ymd_His" ) . ".xlsx"; $objWriter = new...
View ArticleNew Post: Having problem converting one sheet of a spreadsheet to csv
Hello, I am trying to convert individual sheets of an xlsx document to csv documents but am having problems with one of the pages.<? ini_set('display_errors',1); ini_set('display_startup_errors',1);...
View ArticleNew Post: Error excel 2013 chart
Hello, We use the PHPExcel here in the company, Recently realized that in Excel 2013 the charts simply do not appear when opening a message appears saying the file is corrupted. The strange thing is...
View ArticleNew Post: get a cell value by name, not by coordinates
/** * Helper function to search for cell based on string contents. * @param PHPExcel_Worksheet worksheet- our haystack. * @param string needle - the contents we are searching for. * @return...
View ArticleNew Post: Why no "search" like function?
I used what you guys were speaking about to write a helper function. See: https://phpexcel.codeplex.com/discussions/204003
View ArticleNew Post: Writing multiple rows from query to specific/random columns not in...
I am creating a report from a template. In order for the report to look half way decent I am having to spread the columns out randomly, merge cells, etc. The following code will insert the results in...
View ArticleNew Post: php://output issue without error
Hi, i having a problem that cannot output the excel to client but is work if save to server. My code stated below: Javascript: <a href="javascript:void(0)" class="icon-{!$button.params.icon!}"...
View ArticleNew Post: 'blah.xls' cannot be accessed. The file may be read-only
I am having a similar problem. If anyone found a solution for this please post it
View ArticleNew Post: Cannot extract images from EXCEL file (xls)
I am using PHp Excel could extract / read data but cannot extract imagesTEXT which allows me to read excel file (only data) but do not extract images My code<?php include...
View ArticleNew Post: Cannot extract images from EXCEL file (xls)
Have you read the developer docs? There's a section (4.6.37 entitled Reading Images from a worksheet) specifically explaining how to extract images. $i = 0; foreach...
View Article