CODE
Name
Code
Description
Returns a numeric code to represent the first character in a text string. The returned code corresponds to the Windows character set (ANSI).
Syntax
CODE(text)
Remarks
The text argument is the text from which you want to determine the code of the first character.
Data Type
Accepts string data. Returns numeric data. For more information, see Data Type for Each Cell Type.
Example
fpSpread1.Formula = "CODE(""B"")" equals 66
fpSpread1.Formula = "CODE(""Buffalo"")" equals 66