Insert Unicode Character in textbox

AOB

Registered User.
Local time
Today, 16:16
Joined
Sep 26, 2012
Messages
617
I have a textbox into which I want to insert (programmatically) some text along with some unicode characters. The textbox is purely informational, it's locked to users and only populated by code.

Have formatted the textbox with the Segoe UI Emoji font and want to insert some of its characters within the text.

Unfortunately the Unicode characters I want to insert are (hex) 1F5C4 and 1F4C1, which when converted to decimal are 128452 and 128193 respectively.

The ChrW() VBA function only accepts (to my knowledge) integer values between -32768 and 65535 (?)

So how can I use these characters in the function to apply the string to the textbox?

Thanks!
 
Characters that are shown in a textbox depends on the font you are using in the textbox. Some fonts have more unicode characters defined than others.
 

Users who are viewing this thread

Back
Top Bottom