CODE

Returns the ASCII value for the first character in the expression.

Syntax

CODE(text-expression)

Arguments

text-expression Text or cell reference.  The function returns the ASCII value for the first character only.

Example

CODE ("Andrew") returns 65