New Post: Sorting worksheet data in PHP while keeping formatting
I am modifying a worksheet by updating/adding/removing rows, depending on what action the user takes at the front-end. The worksheet is in alphabetical order and must remain that way after it is...
View ArticleNew Post: How to make DateTime format applied without double clicking that...
Hi All, I've managed to generate and download an excel file from oracle database using PHPexcel, below is my coding for reference:- // Instantiate a new PHPExcel object $objPHPExcel = new PHPExcel();...
View ArticleNew Post: How can I merge cell styles?
You can check https://phpexcel.codeplex.com/workitem/20467
View ArticleNew Post: Processing iso8859-1 input in quite large spreadsheet
I export some data into a quite large spreadsheet. It consist of 2 sheets. The first sheet has roughly 2000 rows and 30 columns and the second sheet has roughly 3000 lines and 70 columns. The problem...
View ArticleNew Post: Processing iso8859-1 input in quite large spreadsheet
"No cache" and "cache in memory" are the same thing, ie there is always caching, and the default is cache_in_memory; which explains why these two sets of figures are almost identical. But using caching...
View ArticleNew Post: How to make DateTime format applied without double clicking that...
I think that your values from your database, are seen as text. The phenomenon that you recorded by double-clicking a cell is Excel that does the conversion work. If you want the conversion to be...
View ArticleNew Post: Text with very small font doesn't fit in cell when printing
Hi everybody! I've got a problem with PHPExcel : I have to generate a xlsx file on the fly that displays a table with a lot of data. This document has to be printed in a minimum of pages. So I set the...
View ArticleNew Post: TYPE_NUMERIC
Hi, Those who are having problem with lengthy integer values which convert in xls files as scientific notation the below code solves the problem. What you need to do is place these lines in your while...
View ArticleNew Post: Formatted sheets creation in Loop
Hi!, I'm working on a page that loads data from a Table in Oracle and exports to Excel, the problem is that, when i format the sheets, it only applies the format to the first 16 sheets in the loop,...
View ArticleNew Post: Formatted sheets creation in Loop
Hum... I quickly write a small script using your styles, same ranges of cells filled, with 125 sheets, the styles are applied to all...
View ArticleNew Post: How to conditionally repeat rows using...
I am using setRowsToRepeatAtTopByStartAndEnd to add page headers to the data that spans across multiple pages. At the end of the data rows, I display some static information. I do not want the page...
View ArticleNew Post: How to conditionally repeat rows using...
I am using setRowsToRepeatAtTopByStartAndEnd to add page headers to the data that spans across multiple pages. At the end of the data rows, I display some static information. I do not want the page...
View ArticleNew Post: Line Chart : another y axis
Hi Mark, I've created a line chart this is works fine but, the x-axis dates are not showing all, I figured it out if what is something wrong, because the x-axis is displaying as slant it should be...
View ArticleNew Post: Comments size
Try this: $sheet->getComment($ce)->getText()->createTextRun('Text of the comment...'); $sheet->getComment($ce)->setHeight (300); // height set to 300...
View ArticleNew Post: Missing Instructions?
Hi, I'm using PHP Version 5.3.10 and I'm working with drupal 7. I was able to follow the instructions from this link (at the Drupal site) to install the PHPExcel module (version 7.x-3.7). I've also...
View ArticleNew Post: Missing Instructions?
These scripts write the result on the server's disk file and do not return to the browser as progress information. The 17html.html file contains something when you open it with Notepad? PHPExcel.php...
View ArticleNew Post: Display Excel
If you need an another (single) sheet: $objWriter->setSheetIndex(9); If you need all the worksheets: $objWriter->setGenerateSheetNavigationBlock (true)->writeAllSheets();
View Article