appendColumn
The values fill the column downwards: one value per row. A sheet is examined whole and the column is written from row 1; a range is examined only inside itself and the column is written on its rows, right of the last column of the range that holds data.
It is appendColumns with one column: the same guards, the same growth of the sheet when the result would not fit, and the same rule that a cell whose text starts with = becomes a formula.
Parameters
Parameter | Type | Description |
|---|---|---|
|
| The sheet to append to, or the range to append within. |
|
| A single column: a flat array, one value per row. |
|
|
|
Returns
GoogleAppsScript.Spreadsheet.Sheet — the sheet, so calls can be chained.
Throws
Exception | Condition |
|---|---|
| no argument is passed. |
| the first argument is neither a sheet nor a range. |
| the values are not a flat array. |
Examples
Appending to a sheet
Appending within a range
See also
Source
This documentation was generated with AI (Claude) from the library's source code.