Pratial Bold

Topics: Developer Forum, Project Management Forum, User Forum
Nov 1, 2010 at 3:08 AM

How to achieve partial bold in the cell?


Say, there is a text in Cell A1


in the above text d is bold. how to achieve this?


Please let me know..

Nov 1, 2010 at 11:21 PM
Edited Nov 2, 2010 at 1:06 AM

Take a look at Rich Text Runs in the documentation (section 4.6.38), and in the Feature Demo ( in the /Tests subdirectory.


$objRichText = new PHPExcel_RichText();
$objBolded = $objRichText->createTextRun('d'); 
Nov 2, 2010 at 10:59 AM

Hey Mark,

Thank you for your reply.


The thing is I have downloaded all the examples available.

But this is interesting: I have examined and studied  But it didnt help. The reason is, the excel5 it generates is not proper. when I generate this as 2007 version it work fine.

None of the Richtext is showing properly in excel5 version. The rotation also failed in excel 5. and I am talking about the provided test files not generated by me.

Please let me know what I am missing.

By the way this is a great software. I liked it
Nov 2, 2010 at 3:10 PM

Work Item 8916: rich text isn't supported in the Excel5 Writer (the Excel5 Reader does read it though)