开发者

Escaping html Tags in xls

开发者 https://www.devze.com 2023-04-01 08:55 出处:网络
We\'ve got a report that wraps the title of the report in <>\'s then exports the resulting file as an xls. If that title contains an HTML tag name (e.g. \"head\", \"body\", \"html\") excel interpre

We've got a report that wraps the title of the report in <>'s then exports the resulting file as an xls. If that title contains an HTML tag name (e.g. "head", "body", "html") excel interprets the file as html and tries to render it as a web page. Is there a way to escape a valid html tag in xls while maintaining the angle brackets?

Here's what an 开发者_如何学Goerrant report looks like raw:

<Head Ache>
Category
Some Data
Some More Data 


=CONCATENATE(CHAR(169), "Copyright info")
0

精彩评论

暂无评论...
验证码 换一张
取 消