
The Excel CODE function returns a numeric code for a given character. For example, CODE("a") returns the code 97. The CODE function can be used to figure out numeric codes supplied to the CHAR function.
Get the code for a character
A numeric code representing a character.
=CODE (text)
CODE returns a numeric code for the first character in a text string. The code is based on the character set used by your computer.
Links:
http://en.wikipedia.org/wiki/Windows-1252 - Windows
http://en.wikipedia.org/wiki/Mac_OS_Roman - Mac

The Excel CODE function returns a numeric code for a given character. For example, CODE("a") returns the code 97. The CODE function can be used to figure out numeric codes supplied to the CHAR function.
Get the code for a character
A numeric code representing a character.
=CODE (text)
CODE returns a numeric code for the first character in a text string. The code is based on the character set used by your computer.
Links:
http://en.wikipedia.org/wiki/Windows-1252 - Windows
http://en.wikipedia.org/wiki/Mac_OS_Roman - Mac