Web Analytics Made Easy -
StatCounter How to get value from Excel cell with formats preserved using PHPExcel - CodingForum

Announcement

Collapse
No announcement yet.

How to get value from Excel cell with formats preserved using PHPExcel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to get value from Excel cell with formats preserved using PHPExcel

    PHPExcel version: 1.8.0
    PHP version: 5.6.14
    I am working on Excel to Word conversion. Some of the text in the excel cell may have formats (bold, underline , superscript, etc., ) and they are not retrieved exactly as it is using getValue() or getFormattedValue() method in PHP. They are just retrieved as a plain text. How to get the text from cell with formats preserved.

    For Example:
    Value Inside cell:
    As he was valiant I honour him.
    Result:
    As he was valiant I honour him.

    Any help would be grateful.!
    Thanks in advance.
Working...
X