find unicode for character

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
Hi Bill,

Something like

AscW(Mid(TheString, N, 1))

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