ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to show unicode String ? (https://www.excelbanter.com/excel-programming/307831-how-show-unicode-string.html)

Nick

How to show unicode String ?
 
Hi,

I have a variable temp which store unicode string(more than 1 char) ,
but how can i display it correctly using vba in excel? Instead of
showing its unicode value?

Thanks

Nick

How to show unicode String ?
 
more info:

the value of string is its unicode value

Nick wrote:

Hi,

I have a variable temp which store unicode string(more than 1 char) ,
but how can i display it correctly using vba in excel? Instead of
showing its unicode value?

Thanks


Chip Pearson

How to show unicode String ?
 
You could try using the StrConv function. E.g.,

Dim S As String
S = StrConv(unicode_string,vbFromUnicode)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Nick" wrote in message
...
Hi,

I have a variable temp which store unicode string(more than 1

char) ,
but how can i display it correctly using vba in excel? Instead

of
showing its unicode value?

Thanks





All times are GMT +1. The time now is 08:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com