Skip to Content

CODE

Returns a numeric code for the first character in a text string

Syntax

CODE(text)

Parameters

  • text: Required. The text for which you want the code of the first character

Example

=CODE("A")
Returns: NumberSince: Excel 2003