New Post: Excel 2007 xlsx file being read as html?
I realize I'm very late to this discussion, but I've just encountered this problem, and I was hoping you might be able to help me understand how you managed to work around the issue. I'm downloading an...
View ArticleNew Post: Save a xls file in a custom folder
Hi! I know is to late to answer to you, but maybe someone else will be reading this topic. I've used somthing like that in my project to get excel as file to save in browser: // Redirect output to a...
View ArticleNew Post: Avoid rand() recalculation when opening a woorkbook
Hi MarkBaker, Thank you so much for your detailed answer. I did not know the function getOldCalculatedValue, it was really useful to me. However, I know it's possible to configure a workbook so that...
View ArticleNew Post: Excel file size limit
Hello I am getting this size problem. I have tires everything that has been written, but not working. File size is 2 MB. No of rows in excel : 24,000 When I am trying to print as "print_r($_FILES)", I...
View ArticleNew Post: Chart documentation
I know PHPExcel lets to embed charts into spreadsheets but I can't seem to find a documentation on its usage. Is there a documentation for the chart features of PHPExcel?
View ArticleNew Post: command to check if the sheet exist
$exists = $objPHPExcel->sheetNameExists('Worksheet 1'); /** * Check if a sheet with a specified name already exists * * @param string $pSheetName Name of the worksheet to check * @return boolean */
View ArticleNew Post: leading zeros in CSV file... tried the setFormatCode() to no effect?
Hey all, I am uploading some files that could be csv, xls, xlsx... so im using the PHPExcel_IOFactory::identify($filepath) to create the file object. But when i upload csv files I can't seem to pull...
View ArticleNew Post: leading zeros in CSV file... tried the setFormatCode() to no effect?
There is already an issue raised for this
View ArticleNew Post: leading zeros in CSV file... tried the setFormatCode() to no effect?
Hey Mark, I just read that issue... Sorry if misinterpreting, but seems like you just said numbers with leading zeroes should be trimmed off and still converted by PHPExcel. Wasn't sure if his case is...
View ArticleNew Post: How to determine if an excel column is formatted as a date?
hello..!! i m using PHPExcel_shared_date::ExcelToPHP but problem is that when i m import the excel file without date field it automatically fill that perticular cell which is empty in date column as...
View ArticleNew Post: leading zeros in CSV file... tried the setFormatCode() to no effect?
The cell binder rules are applied whenever a cell is populated unless you set the value using the "explicit" methods, and (unless you've told PHPExcel to use a custom binder) the default value binder...
View ArticleNew Post: PHPExcel overwrites the rows
I have a table, which is sorted out by item_code and status. I have 3 statuses = 0,1 and 2. I want to make some calculations when each status is finished. Basically, PXPExcel overwrites the last row of...
View ArticleNew Post: leading zeros in CSV file... tried the setFormatCode() to no effect?
Cool, The custom binder you recommended worked out... Here is what I did if anyone else needs to do it: I threw in LeadingZeroBinder.php into PHPExcel/Cell:<?php class LeadingZeroBinder extends...
View ArticleNew Post: Page Order: Over, then down
Hi All! I'm using PhpExcel ver 2.1, and I have a template excel (xls). In my template, I setted page order is "Over, then down". But affter call "save('php://output')" method then I receive a file with...
View ArticleNew Post: Page Order: Over, then down
Are you sure you're using PHPExcel version 2.1? Current production release is 1.8.0 (1.8.1 will be available later this month) PHPExcel doesn't support changing calculation order, nor does any PHP...
View ArticleNew Post: Inserting image into excel comments box
I have being searching around for some time to find out how can I create a comment in excel cell and format the comment to show up picture or image. I have seen how to create comment but not how to...
View ArticleNew Post: circular reference in formula = infinite loop
Guys, first of all, thank you so much for the PHPExcel library. We are using it for one of our clients, on a project that would otherwise have been impossible. It's been working really well; however, I...
View ArticleNew Post: command to check if the sheet exist
Thank you for your command. It seems to be working ok in my program. Thank you.
View ArticleNew Post: Using images with fromArray
Hi there, I am currently printing out data to an excel sheet and each piece of data has an image associated to it. I would like to do something like:... $table = array(); foreach($dataset as $data){...
View ArticleNew Post: Using images with fromArray
fromArray() is used to put content inside cells (in the same way as, for example, setCellValue()); but in Excel, images aren't stored inside cells, they are overlaid, effectively displayed over the...
View Article