If the argument for CODE consists of more than one character, the function uses only the first character. : CODE « Text functions « Microsoft Office Excel 2007 Tutorial






Input the formula: =CODE("AbC")
Input the formula: =CODE
22.5.CODE
22.5.1.CODE(text) returns a numeric code for the first character in a text stringCODE(text) returns a numeric code for the first character in a text string
22.5.2.=CODE("java2s")=CODE(
22.5.3.If the argument for CODE consists of more than one character, the function uses only the first character.If the argument for CODE consists of more than one character, the function uses only the first character.