In Excel, the Code function returns the NUMBER code that represents the specific character.
The syntax for the Code function is:
Code( text )
text is the specified character to retrieve the NUMBER code for.
If more than one character is entered, the function will return the value for the first character and ignore all of the characters after the first.