Google Apps Script(GAS)【Google Apps Script(GAS)】スプレッドシートのセルに入力されている値を取得する(getValue、getValues) 今回はGoogle Apps Scriptにおける、スプレッドシートの単一セルに入力されている値の取得方法(getValue)と、セル範囲に入力されている値の取得方法(getValues)についてご紹介します。 単一セルに入力され... 2023.03.19Google Apps Script(GAS)セル操作(Google Apps Script・GAS)プログラミング文字列操作(Google Apps Script・GAS)
Google Apps Script(GAS)【Google Apps Script(GAS)】現在日時を指定した表示形式に変換して取得 Google Apps Scriptにおける、現在日時の取得と表示形式の変換方法についてご紹介します。 現在日時の取得と、表示形式の変換方法 Google Apps Scriptにおいて、現在日時を取得するには下記スクリプトを使... 2023.03.19Google Apps Script(GAS)プログラミング日時(Google Apps Script・GAS)
Google Apps Script(GAS)【Google Apps Script(GAS)】文字列の置換と削除(replace) エクセルやスプレッドシートにおいては文字列の削除や置換は頻繁に使われます。 そこで今回はGoogle Apps Scriptにおける、文字列の置換や削除方法についてご紹介します。 文字列の置換 Google Apps Scri... 2023.03.19Google Apps Script(GAS)プログラミング文字列操作(Google Apps Script・GAS)
Google Apps Script(GAS)【Google Apps Script(GAS)】文字列の結合 今回はGoogle Apps Scriptにおける文字列の結合や、注意点についてご紹介します。 文字列の結合方法 Google Apps Scriptにおいて文字列同士を結合する場合、文字列と文字列を「+」で結ぶ事により、結合で... 2023.03.19Google Apps Script(GAS)プログラミング文字列操作(Google Apps Script・GAS)
Google Apps Script(GAS)【Google Apps Script(GAS)】配列と処理速度 Google Apps Scriptでスプレッドシートの処理を自動化する上で、配列を扱えるようになるのは非常に重要です。 なぜかというと、配列を使って処理を行わないと、処理の量や内容によっては非常に、とても、すごく重くなるから... 2023.03.19Google Apps Script(GAS)プログラミング処理速度(Google Apps Script・GAS)配列(Google Apps Script・GAS)
Google Apps Script(GAS)【Google Apps Script(GAS)】フォルダの作成や削除 Google Apps Scriptではスプレッドシートの操作の自動化だけでなく、Googleドライブ上のフォルダ操作を自動化する事も可能です。 今回はGoogle Apps Scriptを使ってGoogleドライブ上にフォル... 2023.03.19Google Apps Script(GAS)Googleドライブ(Google Apps Script・GAS)プログラミング
Google Apps Script(GAS)【Google Apps Script(GAS)】メッセージボックスの表示 今回は、Google Apps Scriptにおけるメッセージボックスの表示方法についてご紹介します。 メッセージボックスの表示 Google Apps Scriptでは、下記スクリプトでメッセージボックスを呼び出す事ができます... 2023.03.19Google Apps Script(GAS)プログラミングメッセージボックス(Google Apps Script・GAS)
Google Apps Script(GAS)【Google Apps Script】ログを出力する 今回は、Google Apps Scriptで、変数に代入した値などを出力して、スクリプトの動作が正しいかを確認するための便利なスクリプトをご紹介します。 ログを出力する 変数に代入した値など、指定した値をログ出力したい場合、下... 2023.03.19Google Apps Script(GAS)プログラミングログ出力(Google Apps Script・GAS)
Google Apps Script(GAS)【Google Apps Script(GAS)】取得した日時に曜日を追加する 以前、Google Apps Scriptで日時を取得する方法についてご紹介しましたが、今回は曜日も取得して反映する方法をご紹介します。 取得した日時に曜日を追加する 記事下部のサンプル1を元にご説明しますと、 まず、 ... 2023.03.19Google Apps Script(GAS)プログラミング日時(Google Apps Script・GAS)
Google Apps Script(GAS)【Google Apps Script(GAS)】Webアプリケーション(Webページ)の作成(HtmlService) 今回はGoogle Apps ScriptのHtmlServiceを使ったWebアプリケーション(Webページ)の作成方法についてご紹介します。 HTMLファイルの作成 今回はスプレッドシートからスクリプトエディタを起動する形で... 2023.03.19Google Apps Script(GAS)HtmlService(Google Apps Script・GAS)プログラミング