Returns an object that represents the selected range of the current sheet using the row/column coordinates for the cell selection.
Name | Type | Description |
nRow | number | The row number. |
nCol | number | The column number. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); oWorksheet.GetRangeByNumber(1, 2).SetValue("42"); builder.SaveFile("xlsx", "GetRangeByNumber.xlsx"); builder.CloseFile();