将unicode字符转换为其字符串表示形式

时间:2011-12-21 17:18:13

标签: windows excel vba unicode ms-word

在VBA 6中有任何功能(请尽快)可以做这样的事情:

correspondentString = function(\uXYZP)

并为您提供该unicode字符的字符串表示形式?

1 个答案:

答案 0 :(得分:1)

你正在寻找这样的东西:

Dim LResult As String

LResult = StrConv(text, vbFromUnicode)

请点击此处了解详情:http://www.techonthenet.com/excel/formulas/strconv.php