infoMore than 5 years have passed since last update.
編集中_【GoogleAppsScript】GASクラスやメソッドを整理する
Last updated at Posted at 2019-02-16
作成目的
- クラスやメソッドを構造的に示し、理解を深めるために作成(※備忘録)
- 随時、追加/整理する
- テーブルでない方が良さそうなため、フォーマット検討する
階層1 |
階層2 |
階層3 |
階層4 |
階層5 |
説明 |
SpreadsheetApp |
.getActiveSpreadsheet() |
.getActiveSheet() |
.getName(); |
|
アクティブシート名 取得 |
SpreadsheetApp |
.getActiveSpreadsheet() |
.getActiveSheet() |
.getLastRow(); |
|
アクティブシートの最終行番号 取得 *最終行番号: 指定シートの値が入ったセルの行番号 |
SpreadsheetApp |
.getActiveSpreadsheet() |
.getActiveSheet() |
.getLastColumn(); |
|
アクティブシートの最終列番号 取得 *最終列番号: 指定シートの値が入ったセルの列番号 |
SpreadsheetApp |
.getActiveSpreadsheet() |
.getName(); |
|
|
スプレッドシート名 取得 |
SpreadsheetApp |
.getActiveSpreadsheet() |
.getSheets(); |
|
|
全シートオブジェクト 取得 |
|
.openByUrl('※指定のURL'); |
|
|
|
指定URLのスプレッドシートオブジェクト 取得 |
new Array(); |
|
|
|
|
配列 初期化 |
new Date(); |
|
|
|
|
今日日付 取得 |
Utilities.formatDate(new Date(), "JST", "yyyy/MM/dd"); |
|
|
|
|
今日日付を日本時間YYYY/MM/DDで取得 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
What you can do with signing up