This project is read-only.

HTML format in cell

Jun 28, 2011 at 10:42 PM


First of all, thank you for providing an excellent library.  Love it.

Now, I have one question that I could not find anywhere in this discussion.  I have one column that each cell holds an HTML format string.  I would like it to display in HTML format instead of the pure HTML tags. 

Is there a way to do so? 

Here is the string I set it in a cell:

<!DOCTYPE html PUBLIC ""-//W3C//DTD XHTML 1.0 Transitional//EN"" """"><html xmlns=""""><head><meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"" /><title>Untitled</title><style type=""text/css"">
.p_CC664AAA { margin: 0px 0px 12px 0px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px; }
.s_7020EEBF { font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 11px;color: #000000; }
</style></head><body><p class=""p_CC664AAA""><span class=""s_7020EEBF"">testing</span></p></body></html>

Thanks for your help.


Jun 30, 2011 at 6:58 PM

Any help, please?

Thank you much.

Jul 1, 2011 at 4:02 PM

I'm not sure I understand what you mean.  How would you do it in Excel?

Jul 1, 2011 at 5:19 PM

Hey Majnun,

Sorry for the confusion.  My scenario is during the excel generating, there is a raw HTML string that inserts into a cell.  I want this raw HTML to be converted as HTML format, not just raw string.

Is there a way to convert it into HTML format?


Jul 3, 2011 at 9:35 AM

I don't think this is possible. Can you do it in Microsoft Excel? If yes, let's continue the discussion. As I know, Excel doesn't support this feature.