TRY NEW VERSION

UPPER

UPPER(arg1) → { string }

Converts a text string to all uppercase letters.

Parameters:

Name Type Description
arg1 string

The text which will be converted to uppercase, a reference or a text string.

Returns:

Type
string

Example

Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.UPPER("Online Office"));
builder.SaveFile("xlsx", "UPPER.xlsx");
builder.CloseFile();

Resulting document