{"id":248,"date":"2025-05-26T10:59:09","date_gmt":"2025-05-26T01:59:09","guid":{"rendered":"https:\/\/cg-method.com\/google\/?p=248"},"modified":"2026-09-26T12:32:03","modified_gmt":"2026-09-26T03:32:03","slug":"google-sheets-copy-template-check-checkbox","status":"publish","type":"post","link":"https:\/\/cg-method.com\/google\/google-sheets-copy-template-check-checkbox\/","title":{"rendered":"Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u2502\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u65e5\u4ed8\u5225\u306b\u8907\u88fd\uff06\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u51e6\u7406\u3082\u81ea\u52d5\u5316\u3059\u308b"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Google Apps Script\uff08GAS\uff09\u3092\u4f7f\u3063\u3066\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list is-style-num_circle\">\n<li>\u65e5\u4ed8\u3092\u3082\u3068\u306b\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u4ed8\u3051\u3066<\/li>\n\n\n\n<li>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u30b3\u30d4\u30fc<\/li>\n\n\n\n<li>\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306e\u72b6\u614b\u3092\u78ba\u8a8d<\/li>\n\n\n\n<li>\u30b3\u30d4\u30fc\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u5185\u3067\u30b7\u30fc\u30c8\u3092\u8907\u88fd\u30fb\u30ea\u30cd\u30fc\u30e0<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u3067\u3092\u4e00\u62ec\u3067\u81ea\u52d5\u51e6\u7406\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u5b9a\u671f\u51fa\u529b\u3084\u696d\u52d9\u5831\u544a\u7528\u30d5\u30a1\u30a4\u30eb\u306e\u7ba1\u7406\u3092\u52b9\u7387\u5316\u3067\u304d\u307e\u3059\u3002<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u65e5\u4ed8\u5225\u306b\u8907\u88fd\uff06\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u51e6\u7406\u3082\u81ea\u52d5\u5316\u3059\u308b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5404\u51e6\u7406\u306e\u6d41\u308c\u3092\u89e3\u8aac\u3057\u305f\u3042\u3068\u3001\u5168\u4f53\u306e\u30b3\u30fc\u30c9\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Phase1\uff1a\u65e5\u4ed8\u306e\u53d6\u5f97\u3068\u6574\u5f62<\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>var myDate = LogFileSheet.getRange(&quot;A3&quot;).getValue();\nvar input = new Date(myDate);\nvar date = Utilities.formatDate(input, &#39;JST&#39;, &#39;yyMMdd&#39;);<\/code><\/pre><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e <code>A3\u30bb\u30eb<\/code> \u306b\u3042\u308b\u65e5\u4ed8\uff08\u4f8b\uff1a2019\/08\/26\uff09\u3092\u53d6\u5f97<\/li>\n\n\n\n<li><code>yyMMdd<\/code> \u5f62\u5f0f\u306b\u5909\u63db \u2192 <code>190826<\/code> \u306e\u5f62\u5f0f\u306b\u6574\u5f62<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u307b\u304b\u306e\u64cd\u4f5c\u65b9\u6cd5\u306f\u3001\u307e\u3068\u3081\u8a18\u4e8b\u304b\u3089\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/google\/wp-content\/uploads\/2026\/09\/google-apps-matome-3-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/google\/google-apps-matome\/\">Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u30fb\u30c9\u30e9\u30a4\u30d6\u306e\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5c\u95a2\u6570\u3068GAS<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Google\u306e\u64cd\u4f5c\u3092\u300c\u4f55\u3092\u3057\u305f\u3044\u304b\u300d\u304b\u3089\u63a2\u305b\u308b\u30ac\u30a4\u30c9\u3067\u3059\u3002 \u307e\u305a\u6a19\u6e96\u306e\u753b\u9762\u64cd\u4f5c\u3084\u95a2\u6570\u3067\u89e3\u6c7a\u3067\u304d\u308b\u304b\u3092\u78ba\u8a8d\u3057\u3001\u7e70\u308a\u8fd4\u3059\u51e6\u7406\u306bGAS\u3092\u4f7f\u3044\u307e\u3059\u3002 \u76ee\u7684\u304b\u3089\u624b\u9806\u3092\u9078\u3076 \u3084\u308a\u305f&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<h3 class=\"wp-block-heading\">Phase2\uff1a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u8907\u88fd\u3068ID\u66f8\u304d\u8fbc\u307f<\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>var CopiedFile = templateFile.makeCopy(OutputFileName, OutputFolder);\nvar CopiedFileId = CopiedFile.getId();\nLogFileSheet.getRange(&quot;A1&quot;).setValue(CopiedFileId);<\/code><\/pre><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6307\u5b9a\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u8907\u88fd<\/li>\n\n\n\n<li>\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u300c\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u300d\u304b\u3089\u300c\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff0b\u65e5\u4ed8\u300d\u3078\u5909\u66f4<\/li>\n\n\n\n<li>\u8907\u88fd\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306eID\u3092\u8a18\u9332\u7528\u30b7\u30fc\u30c8\u306e <code>A1\u30bb\u30eb<\/code> \u306b\u66f8\u304d\u8fbc\u307f<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Phase3\uff1a\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306e\u78ba\u8a8d<\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>var Values = CopiedFileSheet.getRange(1, 1, 1, 8).getValues();\n\nfor (var i = 0; i &lt; Values[0].length; i++) {\n  if (Values[0][i] === true) {\n    Logger.log(&quot;\u30c1\u30a7\u30c3\u30af\u304c\u3064\u3044\u3066\u3044\u307e\u3059&quot;);\n    LogFileSheet.getRange(&quot;A2&quot;).setValue(&quot;\u30c1\u30a7\u30c3\u30af\u304c\u3064\u3044\u3066\u3044\u307e\u3059&quot;);\n    LogFileSheet.getRange(&quot;A3&quot;).setValue(&quot;&quot;);\n  }\n}<\/code><\/pre><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8907\u88fd\u3057\u305f\u30b7\u30fc\u30c8\u306e1\u884c\u76ee\u30fb1\u301c8\u5217\u76ee\u3092\u78ba\u8a8d<\/li>\n\n\n\n<li>\u3082\u3057 <code>true<\/code>\uff08\u30c1\u30a7\u30c3\u30af\u3042\u308a\uff09\u306e\u30bb\u30eb\u304c\u3042\u308c\u3070\u30ed\u30b0\u51fa\u529b\u3057\u3001A2\u30bb\u30eb\u306b\u7d50\u679c\u3092\u8a18\u9332<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Phase4\uff1a\u30b7\u30fc\u30c8\u306e\u30b3\u30d4\u30fc\u3068\u4e26\u3073\u9806\u8abf\u6574<\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>var DateSheet = CopiedFileSheet.copyTo(CopiedFile);\nvar ActiveSheet = DateSheet.setName(date);\nCopiedFile.setActiveSheet(ActiveSheet);\nCopiedFile.moveActiveSheet(1);<\/code><\/pre><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8907\u88fd\u5148\u30d5\u30a1\u30a4\u30eb\u5185\u3067\u300c\u30b3\u30d4\u30fc\u5143\u300d\u30b7\u30fc\u30c8\u3092\u8907\u88fd<\/li>\n\n\n\n<li>\u65e5\u4ed8\uff08\u4f8b\uff1a190826\uff09\u3092\u30b7\u30fc\u30c8\u540d\u306b\u8a2d\u5b9a<\/li>\n\n\n\n<li>\u30b7\u30fc\u30c8\u3092\u5148\u982d\uff08\u4e00\u756a\u5de6\uff09\u306b\u79fb\u52d5\u3057\u3066\u6574\u7406<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b3\u30fc\u30c9\u306e\u307e\u3068\u3081<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5168\u4f53\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>function myFunction() {\n  \/\/\u25a0Phase1\n  \/\/\u8a18\u9332\u7528\u306e\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\n  var LogFile = SpreadsheetApp.openById(&#39;\u8a18\u9332\u7528\u306e\u30b7\u30fc\u30c8ID&#39;);\n  \/\/\u30b7\u30fc\u30c8\u306e\u9078\u629e\n  var LogFileSheet = LogFile.getSheetByName(&#39;\u30b7\u30fc\u30c81&#39;);\n  var myDate = LogFileSheet.getRange(&quot;A3&quot;).getValue();\/\/2019\/08\/26\u3068\u66f8\u3044\u3066\u3042\u308b\u307e\u3059\u3002\n  var input = new Date(myDate);\n  var date = Utilities.formatDate(input, &#39;JST&#39;, &#39;yyMMdd&#39;) \n  \n  \/\/\u25a0Phase2\n  \/\/ \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\n  var templateFile = DriveApp.getFileById(&quot;\u30b3\u30d4\u30fc\u5143\u306e\u30b7\u30fc\u30c8ID&quot;);\n  \/\/ \u51fa\u529b\u5148\u30d5\u30a9\u30eb\u30c0\n  var OutputFolder = DriveApp.getFolderById(&quot;\u683c\u7d0d\u5148\u306e\u30d5\u30a9\u30eb\u30c0ID&quot;);\n  \/\/ \u51fa\u529b\u30d5\u30a1\u30a4\u30eb\u540d\n  var OutputFileName = templateFile.getName().replace(&#39;\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8&#39;, &#39;&#39;)+date;\n  \/\/\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30ea\u30cd\u30fc\u30e0\uff06\u30b3\u30d4\u30fc\n  var CopiedFile = templateFile.makeCopy(OutputFileName, OutputFolder);\n  \/\/\u30b3\u30d4\u30fc\u3057\u305f\u30b7\u30fc\u30c8\u306eID\u53d6\u5f97\n  var CopiedFileId = CopiedFile.getId();  \n  \n  \/\/\u30b7\u30fc\u30c8\u306b\u30b3\u30d4\u30fc\u5148\u306e\u30b7\u30fc\u30c8ID\u3092\u66f8\u304d\u8fbc\u307f\n  LogFileSheet.getRange(&quot;A1&quot;).setValue(CopiedFileId);\n  \n  \/\/\u25a0Phase3\n  \/\/\u30b3\u30d4\u30fc\u3078\u306e\u66f8\u304d\u8fbc\u307f\u78ba\u8a8d\n  var CopiedFileSheet = SpreadsheetApp.openById(CopiedFileId).getSheetByName(&#39;\u30b3\u30d4\u30fc\u5143&#39;);\n  \n  var Cells = CopiedFileSheet.getRange(1, 1, 1, 8);\n  var Values =Cells.getValues();\n  \/\/\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u5224\u5b9a  \n  for (var i=0; i&lt;Cells.getNumColumns(); i++){\n    if (Values[0][i] === true) {\n      Logger.log(&quot;\u30c1\u30a7\u30c3\u30af\u304c\u3064\u3044\u3066\u3044\u307e\u3059&quot;)\n      LogFileSheet.getRange(&quot;A2&quot;).setValue(&quot;\u30c1\u30a7\u30c3\u30af\u304c\u3064\u3044\u3066\u3044\u307e\u3059&quot;);\n      LogFileSheet.getRange(&quot;A3&quot;).setValue(&quot;&quot;);\n    }else{      \n    }\n  }\n  \n  \/\/\u25a0Phase4\n  \/\/\u30b7\u30fc\u30c8\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3092\u540d\u524d\u3092\u65e5\u4ed8\u306b\n  var CopiedFile = SpreadsheetApp.openById(CopiedFileId);\n  var DateSheet = CopiedFileSheet.copyTo(CopiedFile);  \n  var ActiveSheet = DateSheet.setName(date);\n  \n  \/\/\u30b7\u30fc\u30c8\u3092\u4e00\u756a\u5de6\u306b\u79fb\u52d5\n  CopiedFile.setActiveSheet(ActiveSheet);\n  CopiedFile.moveActiveSheet(1);  \n}<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u5fdc\u7528\u4f8b<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Logger.log()<\/code> \u3067\u306f\u306a\u304f <code>GmailApp.sendEmail()<\/code> \u306b\u5909\u66f4\u3057\u3066\u30e1\u30fc\u30eb\u901a\u77e5\u3092\u9001\u4fe1<\/li>\n\n\n\n<li>\u65e5\u4ed8\u306e\u5f62\u5f0f\u3092 <code>yyyyMMdd_HHmm<\/code> \u306b\u5909\u66f4\u3057\u3066\u540c\u65e5\u5185\u306e\u8907\u6570\u56de\u5b9f\u884c\u306b\u5bfe\u5fdc<\/li>\n\n\n\n<li>\u30c1\u30a7\u30c3\u30af\u6e08\u307f\u306e\u884c\u3084\u30c7\u30fc\u30bf\u306e\u307f\u3092\u62bd\u51fa\u3057\u3066\u5225\u51e6\u7406\u3078\u6e21\u3059\u69cb\u6210\u3078\u306e\u62e1\u5f35<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u3066\u3044\u308b\u30b3\u30fc\u30c9\u306f\u3001GitHub\u306e<a href=\"https:\/\/github.com\/MOTOKI-LLC\/cg-method-code\/tree\/main\/google\/google-sheets-copy-template-check-checkbox\">MOTOKI-LLC\/cg-method-code<\/a>\u306b\u3082\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<!-- cgm-topic:start -->\n\n\n<p class=\"wp-block-paragraph\">GAS\u3067\u30b7\u30fc\u30c8\u3092\u64cd\u4f5c\u3059\u308b\u8a18\u4e8b\u306f\u3001\u307b\u304b\u306b\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/google\/wp-content\/uploads\/2025\/06\/gas-google-sheets-hierarchy-visualization-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/google\/spreadsheet-hierarchy-visualization\/\">Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u2502\u7d44\u7e54\u56f3\u3084UI\u69cb\u9020\u306e\u60c5\u5831\u3092\u30d3\u30b8\u30e5\u30a2\u30eb\u5316\uff01\u968e\u5c64\u8868\u793a\u3059\u308b\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u7ba1\u7406\u3057\u3066\u3044\u308b\u968e\u5c64\u30c7\u30fc\u30bf\u3092\u3001D3.js\u3092\u4f7f\u3063\u3066\u30d6\u30e9\u30a6\u30b6\u4e0a\u306b\u30c4\u30ea\u30fc\u69cb\u9020\u3067\u53ef\u8996\u5316\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 \u8868\u793a\u30a4\u30e1\u30fc\u30b8 \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/google\/wp-content\/uploads\/2025\/11\/sheets-gas-sync-multi-key-rows-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/google\/sheets-gas-sync-multi-key-rows\/\">Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u25022\u3064\u306e\u30b7\u30fc\u30c8\u3092\u81ea\u52d5\u540c\u671f\u3059\u308bGAS\u306e\u4f5c\u308a\u65b9<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001\u5f8c\u308d\u306e\u5217\u306b\u5099\u8003\u306a\u3069\u306e\u8ffd\u8a18\u60c5\u5831\u3092\u7ba1\u7406\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 \u5143\u30c7\u30fc\u30bf\u306e\u884c\u304c\u8ffd\u52a0\u3084\u524a\u9664\u306b\u3088\u3063\u3066\u5909\u52d5\u3059\u308b\u3068\u3001\u624b\u4f5c\u696d\u3067\u8ffd\u8a18\u3057\u305f\u5099\u8003\u306a\u3069&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/google\/wp-content\/uploads\/2025\/05\/spreadsheet-sheet-index-menu-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/google\/spreadsheet-sheet-index-menu\/\">Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u2502\u5927\u91cf\u30b7\u30fc\u30c8\u3092\u4e00\u767a\u9078\u629e\uff01\u4fbf\u5229\u30e1\u30cb\u30e5\u30fc\u3067\u30b7\u30fc\u30c8\u4e00\u89a7\u3092\u8868\u793a\u3057\u3066\u79fb\u52d5\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u30b7\u30fc\u30c8\u6570\u304c\u5897\u3048\u308b\u3068\u3001\u76ee\u7684\u306e\u30b7\u30fc\u30c8\u3092\u63a2\u3059\u306e\u306b\u624b\u9593\u304c\u304b\u304b\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u4e0b\u90e8\u306e\u5de6\u53f3\u77e2\u5370\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u305f\u308a\u4e00\u89a7\u304b\u3089\u63a2\u3057\u305f\u308a\u3059\u308b\u64cd\u4f5c\u3092\u7169\u308f&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/google\/wp-content\/uploads\/2025\/05\/google-sheets-auto-copy-with-date-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/google\/google-sheets-auto-copy-with-date\/\">Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u2502\u81ea\u52d5\u3067\u65e5\u4ed8\u5165\u308a\uff01\u8907\u88fd\u30b7\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">master\u30b7\u30fc\u30c8\u304b\u3089\u6708\u3054\u3068\u306e\u30b7\u30fc\u30c8\u3092\u8907\u88fd\u3057\u307e\u3059\u3002 \u5e74\u6708\u306f\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3067\u6c7a\u3081\u3001\u540c\u3058\u5e74\u6708\u540d\u306e\u30b7\u30fc\u30c8\u304c\u3042\u308c\u3070\u4e0a\u66f8\u304d\u305b\u305a\u306b\u7d42\u4e86\u3057\u307e\u3059\u3002 \u7df4\u7fd2\u30b3\u30fc\u30c9\u30fb\u5165\u529bJ&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<!-- cgm-topic:end -->\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u5b9f\u73fe\u3067\u304d\u308b\u51e6\u7406\u3068\u30e1\u30ea\u30c3\u30c8\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u51e6\u7406\u5185\u5bb9<\/th><th>\u30e1\u30ea\u30c3\u30c8<\/th><\/tr><\/thead><tbody><tr><td>\u65e5\u4ed8\u3054\u3068\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u8907\u88fd<\/td><td>\u65e5\u4ed8\u5225\u306e\u5e33\u7968\u4f5c\u6210\u30fb\u7ba1\u7406\u306e\u624b\u9593\u3092\u524a\u6e1b<\/td><\/tr><tr><td>\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u5224\u5b9a<\/td><td>\u4e8b\u524d\u78ba\u8a8d\u3084\u51e6\u7406\u5b8c\u4e86\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u81ea\u52d5\u5224\u5b9a<\/td><\/tr><tr><td>\u8907\u88fd\u30d5\u30a1\u30a4\u30eb\u306eID\u3092\u8a18\u9332<\/td><td>\u8907\u88fd\u5148\u30d5\u30a1\u30a4\u30eb\u3092\u691c\u7d22\u3059\u308b\u624b\u9593\u3092\u524a\u6e1b<\/td><\/tr><tr><td>\u30b7\u30fc\u30c8\u306e\u30ea\u30cd\u30fc\u30e0\u3068\u6574\u7406<\/td><td>\u6700\u65b0\u30b7\u30fc\u30c8\u304c\u5148\u982d\u306b\u4e26\u3073\u78ba\u8a8d\u304c\u30b9\u30e0\u30fc\u30ba\u306b<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">GAS\u3067\u5b9a\u578b\u696d\u52d9\u3092\u81ea\u52d5\u5316\u3057\u3001<strong>\u65e5\u3005\u306e\u624b\u4f5c\u696d\u3092\u52b9\u7387\u5316\u3057\u307e\u3057\u3087\u3046\u3002<\/strong><\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/google\/wp-content\/uploads\/2025\/05\/google-sheets-importrange-extract-specific-range-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/google\/google-sheets-importrange\/\">Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u2502\u5225\u30b7\u30fc\u30c8\u30fb\u5225\u30d5\u30a1\u30a4\u30eb\u3092\u53c2\u7167\u3059\u308b\u65b9\u6cd5\u3068IMPORTRANGE<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u540c\u4e00\u30d5\u30a1\u30a4\u30eb\u306e\u5225\u30b7\u30fc\u30c8\u306f\u30bb\u30eb\u53c2\u7167\u3001\u5225\u30d5\u30a1\u30a4\u30eb\u306fIMPORTRANGE\u3067\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002 \u521d\u56de\u306e\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u3001\u5c55\u958b\u7bc4\u56f2\u3001#REF!\u306e\u539f\u56e0\u3092\u3001\u5143\u30c7\u30fc\u30bf\u3068\u53c2\u7167\u5148\u306e2\u3064\u306e\u7df4\u7fd2\u30d5\u30a1\u30a4\u30eb\u3067&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Google Apps Script\uff08GAS\uff09\u3092\u4f7f\u3063\u3066\u3001 \u307e\u3067\u3092\u4e00\u62ec\u3067\u81ea\u52d5\u51e6\u7406\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002 \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u5b9a\u671f\u51fa\u529b\u3084\u696d\u52d9\u5831\u544a\u7528\u30d5\u30a1\u30a4\u30eb\u306e\u7ba1\u7406\u3092\u52b9\u7387\u5316\u3067\u304d\u307e\u3059\u3002 \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u65e5\u4ed8\u5225\u306b\u8907\u88fd\uff06\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":250,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","book_review_data":"","footnotes":"","ssp_meta_title":"Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8 \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u8907\u88fd\u3068GAS\u81ea\u52d5\u5316","ssp_meta_description":"Google Apps Script\u3092\u4f7f\u3044\u3001\u65e5\u4ed8\u3054\u3068\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u8907\u88fd\u304b\u3089\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u5224\u5b9a\u3001\u30b7\u30fc\u30c8\u306e\u30ea\u30cd\u30fc\u30e0\u307e\u3067\u3092\u81ea\u52d5\u5316\u3059\u308b4\u3064\u306e\u30d5\u30a7\u30fc\u30ba\u3068\u5168\u4f53\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30b3\u30fc\u30c9\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002"},"categories":[17],"tags":[18],"class_list":["post-248","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spreadsheets","tag-gas"],"_links":{"self":[{"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/posts\/248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/comments?post=248"}],"version-history":[{"count":10,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/posts\/248\/revisions"}],"predecessor-version":[{"id":23444,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/posts\/248\/revisions\/23444"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/media\/250"}],"wp:attachment":[{"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/media?parent=248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/categories?post=248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/tags?post=248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}