home.gif next.gif prev.gif



CODE

See also A-Z Spreadsheet Function List


Description Returns a numeric code representing the first character of the supplied string.

Syntax CODE(text)

text is any string.

Remarks The numeric code and associated string are defined in your computers character set. The character set used by Windows is the ANSI character set.

See Also CHAR function

Examples CODE(“A”) returns 65

         CODE(“b”) returns 98