Returns the ApiRange that represents all the cells on the worksheet (not just the cells that are currently in use).
Name | Type | Description |
row | number | The row number or the cell number (if only row is defined). |
col | number | The column number. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oCells = oWorksheet.GetCells(); oCells.SetFillColor(Api.CreateColorFromRGB(255, 213, 191)); builder.SaveFile("xlsx", "GetCells.xlsx"); builder.CloseFile();