Quantcast
Channel: PHPExcel Forum Rss Feed
Browsing all 2707 articles
Browse latest View live
↧

New Post: How can I loop through G1 to AJ5

Hello, I am trying to loop from G1 to AJ5. If I write a foreach loop: foreach (range('G', 'AJ') as $column) { for ($row = 1; $row <= 5; $row++) { $cellIndex = $column.$row; } } AJ will be recognized...

View Article


New Post: How can I loop through G1 to AJ5

PHPs range() function doesn't work like that. It can do single letters since they can be indexed as ascii codes. You could do range(getColumnIndex('G'), getColumnIndex('AJ')) and the reverse the index...

View Article


New Post: How can I loop through G1 to AJ5

$firstColumn = 'G'; $lastColumn = 'AJ'; $lastColumn++; for($column = $firstColumn; $column !== $lastColumn; $column++) { ... do stuff } or if you're using PHP 5.5, you can use Generators: function...

View Article

New Post: How can I loop through G1 to AJ5

Thank you guys for the reply. Here is the solution: for ($column = 'G'; $column != 'AJ'; $column++) { for ($row = 1; $row <= $endRow; $row++) { $cellIndex = $column.$row; } }

View Article

New Post: Save range as image

Hi there, I'm totally new to PHPExcel and I wanted to know if there is a possibility to save a range as image ? Thanks Regards Philippe

View Article


New Post: Formatting issue - what am I missing?

When I call setFormatCode() starting from a Sheet object, the formatting works as expected. However, when I call it starting from a Cell object, the format code is applied to every cell.$sheet =...

View Article

New Post: Problems PHPExcel - Excessive Overhead of memory

Hello to everyone. Would help to solve a problem I'm having. Always used the PHPExcel class to export small reports. This time I am trying to export a report of 234 rows and N (dynamic) columns in...

View Article

New Post: Problems PHPExcel - Excessive Overhead of memory

My Script$periodo = $objRel->getPeriodo(); foreach($periodo as $kp =>$p){ if(is_numeric($kp)){ $pX = strtoupper(gmstrftime("%h", strtotime($p))); $pP = substr($p, 0,7); $objWorkSheet =...

View Article


New Post: How can I loop through G1 to AJ5

Hello! you might have already solved this, however i have a function that lets you handle any excel column letter as numbers. You might find it useful, i use it to loop though files that need a...

View Article


New Post: Writing text to a Cell, but always output FALSE

Hello! I'm trying to simply paste text to a cell but for some reason the output is always FALSE I can write any text generally, they're called from the database, save them in a variable then write its...

View Article

New Post: How can I loop through G1 to AJ5

Why not simply use the built in PHPExcel_Cell::columnIndexFromString() and PHPExcel_Cell::stringFromColumnIndex() methods?

View Article

New Post: How to put Picture in a footer in PHPecxel report

Hello everyone when i tried this for a header it works but when i tried it for a footer it wont work can anyone help me how to make this work? I want the picture to be my footer can anyone help me with...

View Article

New Post: How to put borders around my output in PHPexcel in a Dynamic way

Can anyone help me how to put borders around in my output arrays in my report in excel using PHPexcel. I read the documentation but the example is in Static and you need to set the number already. I...

View Article


New Post: Failed loading of an Excel2007 file

Hi all ! I'm trying to load an Excel file, but the reading fails. Here are the messages : ( ! ) Notice: Trying to get property of non-object in .../PHPExcel/Classes/PHPExcel/Reader/Excel2007.php on...

View Article

New Post: Toruble creating charts on the fly

Hi, i've been working creating Excel files with phpExcel and it works great! Now i'm triyng to make some charts; when i know de number of columns and rows of the data, it works great; i now need to...

View Article


New Post: How can I loop through G1 to AJ5

Hi, I use thisd code for columns: $lastColumn = 90; for ($i=0;$i<$lastColumn;$i++) {$column = chr(65+$i); } Now you can refer to columns with the $column variable

View Article

New Post: How can I loop through G1 to AJ5

As I said, why not simply use the built in PHPExcel_Cell::columnIndexFromString() and PHPExcel_Cell::stringFromColumnIndex() methods? These aren't limited to the range A-Z, or to the range A-ZZ, but...

View Article


New Post: Does PHPExcel export to Excel Support French Character?

I have started to learn PHPExcel a few week ago. I have used PHPExcel class to export data from mysql and manipulate to excel2007. However, the french characters doesn't support in my export. Does...

View Article

New Post: Form data send as file attachment

Sorry, but i still didn't get that. I've been looking for an answer during this time but i couldn't find it. Could you give me a more specific explanation? Basically, I have these fields in my html...

View Article

New Post: Does PHPExcel export to Excel Support French Character?

Always store string values in PHPExcel as UTF-8, and then you won't have any problems

View Article
Browsing all 2707 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>