New Post: Legal blurb -- put it in my code too?
Thanks Mark for the quick reply. Works for me. Take care Psalm 130:3-4
View ArticleNew Post: converting Text to Numeric form
I have made this sheet using PHPExcel i filled it using an array . it has values in percent form and it treated as text form by default . how can i convert my all the columns in to numeric form for so...
View ArticleNew Post: converting Text to Numeric form
Unless you use setCellValueExplicit(), then PHPExcel uses a value binder to identify the datatype that you are setting in the cell. By default, this is PHPExcel_Cell_DefaultValueBinder, which performs...
View ArticleNew Post: EXCEL ->PDF
Hello, I want to use PHPexcel for my projet because i must create excel file in php, but after i have two steps bafore : Can i manage 4 excel tabs ? Can i export 2 tabs to one pdf files ? Thanks a lot...
View ArticleNew Post: Copy Cut and Paste the set of rows from one place to other in a...
I am trying to cut and copy a range of rows from my excel sheet (about 2346 rows) and paste it in down at the bottom of the sheet. I would like to cut and copy 6-80 rows,331-354 rows and then paste...
View ArticleNew Post: Copy Cut and Paste the set of rows from one place to other in a...
$objPHPExcel->getActiveSheet()->fromArray( $objPHPExcel->getActiveSheet()->range‌​ToArray('A6:E80'), null, 'A2346' ); $objPHPExcel->getActiveSheet()->removeRow(6, 80-6+1);
View ArticleNew Post: Writing to xlsx, skip X # of rows before continuing write?
PHPExcel: 1.8.0 PHP: 5.5.9 I have a setup to where I have an excel sheet template I'm wanting to use to return the results of registered users from a MySQL query. The template is setup so each printed...
View ArticleNew Post: Writing to xlsx, skip X # of rows before continuing write?
PHPExcel does not provide any specific functionality to do this: your script will have to keep track of which row it is writing, and adjust the position where it writes accordingly The alternative...
View ArticleNew Post: Writing to xlsx, skip X # of rows before continuing write?
Ok, thank you for the information Mark! I'll have to play around with it some and see what I can come up with.
View ArticleNew Post: Fail to do newline in rich text
Problem : I have two fields: summary and description. Both of them will be in one cell and I need to make summary bold and then a new line and another newline then come to the description. I used this...
View ArticleNew Post: Strange green borders (excel2007 writer)
Hello! In my project I use .xlsx template to fill it with values. Values filling is good, but document receives a strange change of view (border outlines are missing and other borders becomes green,...
View ArticleNew Post: import spreadsheet with text format
Hello guys, how to import a spreadsheet in text format, my code$file_tmp = $_FILES['arquivo']['tmp_name']; try { $FileType = PHPExcel_IOFactory::identify( $file_tmp ); $objReader =...
View ArticleNew Post: Reading comments from a macro enabled spreadsheet?
Hello there, Is there a way to have a macro enabled format (like XLS) but where PHPExcel can also read in comments (via getComment()) I tried the XSLM format, but PHPExcel doesn't seem to read those...
View ArticleNew Post: import spreadsheet with text format
Instead of getValue() try getCalculatedValue() or getFormattedValue() At least I think that what the other to types are called. getFormattedValue() should give you your dates in mm/dd/yyyy format or...
View ArticleNew Post: Example 06largescale.php (Excel2007) with a newline (\n) in a cell...
Hello, When modifying the 06largescale example by replacing 'Lastname' with 'Hello\nWorld', the xslx (Excel 2007) file is not valid and cannot be open. I use the last versoin 1.8.0. Has someone...
View ArticleNew Post: Speed fix - takes memory - is it right?
Hello, a quick (dirty) fix to greatly speedup styles assignment. What do you think about it? The method getCellXfByHashCode() is awfully slow, so I tried to replace it with a cache array. version:...
View ArticleNew Post: Multiple datas in a row?
I have a question.<tr> <td>some data</td> </tr> <tr> <td>data1</td> <td>data2</td> <td>data3</td> </tr> This is the code I've...
View ArticleNew Post: Reading merged cells in PHPExcel
I am trying to read a spreadsheet that contains merged cells. For instance the cells a1 through a5 are merged with b1 through b5. Ok I can work out that those cells are merged but on row 3 the cells a3...
View ArticleNew Post: Reading merged cells in PHPExcel
The worksheet object has a method called getMergeCells() that will return an array of all the merged cell blocks in that worksheet.... you can identify if a cell is part of a merge group by calling the...
View ArticleNew Post: Example 06largescale.php (Excel2007) with a newline (\n) in a cell...
This should not cause the workbook to be invalid, though you should use double quotes (") rather than single quotes(') unless you want \n to be a literal \n rather than a new line character
View Article