The CODE function, an Excel Text function returns a numeric code between 0 to 255 for the first character of a text string.