find unicode for character

B

Bill Sturdevant

I have a field that contains strings of characters. Some of the are
unprintable, and show up as boxes. I know they are not char 10 or 13. What
VBA code do I use to find out what they are?
 
J

John Nurick

Hi Bill,

Something like

AscW(Mid(TheString, N, 1))

will give you the Unicode value of the Nth character in the string.
 
Top