How to format a string in a cell ?

Sep 2, 2011 at 9:05 PM

Hi Folks,

I need to make a cell made of words of two different collors...

reading the documentation I´ve just found ways to format the whole cell... but how can I format a string of a cell ?



Sep 2, 2011 at 9:27 PM

You would need to create rich text.

There is some basic reference for it in "PHPExcel developer documentation.doc" around page 29 and the 05featuredemo.php test file.

Note that "rich text works for the Excel2007, HTML and PDF Writers, but not for Excel5 yet."

Sep 5, 2011 at 1:46 PM

Thanks Scott...

Another question.. Im loadin an Excel5 file with Macros and saving it as Excel2007 File... I think is not possible to keep Macros in the resulting file... am I correct ?