Returns the code number from your computer's character set for the first character in the specified text string.
Name | Type | Description |
arg1 | string | The text for which to get the code of the first character. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.CODE("office")); builder.SaveFile("xlsx", "CODE.xlsx"); builder.CloseFile();