ReferenceExcel FormulasSupported FormulasCODEOn this pageCODE The CODE function returns the numeric code for the first character in a text string. Syntax =CODE(text) Parameters text: The text string whose first character's code you want to find Examples =CODE("A") // Returns 65=CODE("a") // Returns 97=CODE("1") // Returns 49