This article shows how to create a new Google Sheet and write data into it with Google AppScript. We will also be writing data into existing Google SpreadSheet.
Create a new Google Sheet and write data into it with AppScript
The following function will create a Google Sheet named TestSheet in your Google Drive.
Then, it will add some text in the first three cells of the first row of the spreadsheet.
After that, it will freeze the first row, i.e. the first row will be non-editable.
Then, it will set the fontsize, background color ...
↧