The CODE function is one of the text and data functions. Is used to return the ASCII value of the specified character or the first character in a cell.
Syntax
CODE(text)
The CODE function has the following argument:
Argument
Description
text
The text for which you want to get the code of the first character.