{"id":12707,"date":"2020-05-01T23:44:16","date_gmt":"2020-05-01T14:44:16","guid":{"rendered":"https:\/\/www.ka-net.org\/blog\/?p=12707"},"modified":"2020-09-03T16:23:06","modified_gmt":"2020-09-03T07:23:06","slug":"office-scripts%e3%82%b7%e3%83%bc%e3%83%88%e3%81%ae%e5%8f%96%e5%be%97%e6%96%b9%e6%b3%95%e3%81%be%e3%81%a8%e3%82%81","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=12707","title":{"rendered":"[Office Scripts]\u30b7\u30fc\u30c8\u306e\u53d6\u5f97\u65b9\u6cd5\u307e\u3068\u3081"},"content":{"rendered":"<p>\u4eca\u56de\u306f\u3001Office Scripts\u306e\u57fa\u672c\u3068\u306a\u308b\u30b7\u30fc\u30c8\u306e\u53d6\u5f97\u65b9\u6cd5\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h4 class=\"style4a\">\u30a2\u30af\u30c6\u30a3\u30d6\u30b7\u30fc\u30c8\u3092\u53d6\u5f97<\/h4>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/javascript\/api\/office-scripts\/excelscript\/excelscript.workbook?WT.mc_id=M365-MVP-4029057#getactiveworksheet--\" title=\"ExcelScript.Workbook interface - Office Scripts | Microsoft Docs\" target=\"_blank\" rel=\"noopener noreferrer\">(Workbook).getActiveWorksheet<\/a>\u30e1\u30bd\u30c3\u30c9\u3067\u3001\u73fe\u5728\u4f5c\u696d\u4e2d\u306e\u30a2\u30af\u30c6\u30a3\u30d6\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/kinuasa\/70daf503c882c9fe124385dadda9773d.js\"><\/script><\/p>\n<h4 class=\"style4a\">\u30b7\u30fc\u30c8\u540d\u3092\u6307\u5b9a\u3057\u3066\u30b7\u30fc\u30c8\u3092\u53d6\u5f97<\/h4>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/javascript\/api\/office-scripts\/excelscript\/excelscript.workbook?WT.mc_id=M365-MVP-4029057#getworksheet-key-\" title=\"ExcelScript.Workbook interface - Office Scripts | Microsoft Docs\" target=\"_blank\" rel=\"noopener noreferrer\">(Workbook).getWorksheet<\/a>\u30e1\u30bd\u30c3\u30c9\u3067\u30b7\u30fc\u30c8\u306e\u540d\u524d\u3001\u3082\u3057\u304f\u306fID\u3092\u6307\u5b9a\u3057\u3066\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/kinuasa\/3afcc5bbb1d9c35215c6d0e4ffcbc83b.js\"><\/script><\/p>\n<p>\u305f\u3060\u3057\u3001\u30d6\u30c3\u30af\u306b\u5b58\u5728\u3057\u306a\u3044\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001undefined\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/kinuasa\/3610c43aaa8dc70e20f413ebd74745ab.js\"><\/script><\/p>\n<h4 class=\"style4a\">\u6700\u521d\u306e\u30b7\u30fc\u30c8\u3092\u53d6\u5f97<\/h4>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/javascript\/api\/office-scripts\/excelscript\/excelscript.workbook?WT.mc_id=M365-MVP-4029057#getfirstworksheet-visibleonly-\" title=\"ExcelScript.Workbook interface - Office Scripts | Microsoft Docs\" target=\"_blank\" rel=\"noopener noreferrer\">(Workbook).getFirstWorksheet<\/a>\u30e1\u30bd\u30c3\u30c9\u3067\u6700\u521d\u306e\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306btrue\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30b7\u30fc\u30c8\u306e\u307f\u3092\u5bfe\u8c61\u3068\u3057\u3001\u975e\u8868\u793a\u306e\u30b7\u30fc\u30c8\u306f\u30b9\u30ad\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/kinuasa\/def47aadb0ec4f7581718d3af202b9cb.js\"><\/script><\/p>\n<h4 class=\"style4a\">\u6700\u5f8c\u306e\u30b7\u30fc\u30c8\u3092\u53d6\u5f97<\/h4>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/javascript\/api\/office-scripts\/excelscript\/excelscript.workbook?WT.mc_id=M365-MVP-4029057#getlastworksheet-visibleonly-\" title=\"ExcelScript.Workbook interface - Office Scripts | Microsoft Docs\" target=\"_blank\" rel=\"noopener noreferrer\">(Workbook).getLastWorksheet<\/a>\u30e1\u30bd\u30c3\u30c9\u3067\u6700\u5f8c\u306e\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306btrue\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30b7\u30fc\u30c8\u306e\u307f\u3092\u5bfe\u8c61\u3068\u3057\u3001\u975e\u8868\u793a\u306e\u30b7\u30fc\u30c8\u306f\u30b9\u30ad\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/kinuasa\/3c7e04d555de419d92daa24880f4937b.js\"><\/script><\/p>\n<h4 class=\"style4a\">\u6b21\u306e\u30b7\u30fc\u30c8\u3092\u53d6\u5f97<\/h4>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/javascript\/api\/office-scripts\/excelscript\/excelscript.worksheet?WT.mc_id=M365-MVP-4029057#getnext-visibleonly-\" title=\"ExcelScript.Worksheet interface - Office Scripts | Microsoft Docs\" target=\"_blank\" rel=\"noopener noreferrer\">(Worksheet).getNext<\/a>\u30e1\u30bd\u30c3\u30c9\u3067\u6b21\u306e\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306btrue\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30b7\u30fc\u30c8\u306e\u307f\u3092\u5bfe\u8c61\u3068\u3057\u3001\u975e\u8868\u793a\u306e\u30b7\u30fc\u30c8\u306f\u30b9\u30ad\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/kinuasa\/3abfe307a06131f5ad81ab58691ea383.js\"><\/script><\/p>\n<h4 class=\"style4a\">\u524d\u306e\u30b7\u30fc\u30c8\u3092\u53d6\u5f97<\/h4>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/javascript\/api\/office-scripts\/excelscript\/excelscript.worksheet?WT.mc_id=M365-MVP-4029057#getprevious-visibleonly-\" title=\"ExcelScript.Worksheet interface - Office Scripts | Microsoft Docs\" target=\"_blank\" rel=\"noopener noreferrer\">(Worksheet).getPrevious<\/a>\u30e1\u30bd\u30c3\u30c9\u3067\u524d\u306e\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306btrue\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30b7\u30fc\u30c8\u306e\u307f\u3092\u5bfe\u8c61\u3068\u3057\u3001\u975e\u8868\u793a\u306e\u30b7\u30fc\u30c8\u306f\u30b9\u30ad\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/kinuasa\/d71c4beec338f1c18b2d0d88c0fa978f.js\"><\/script><\/p>\n<h4 class=\"style4a\">n\u756a\u76ee\u306e\u30b7\u30fc\u30c8\u3092\u53d6\u5f97<\/h4>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/javascript\/api\/office-scripts\/excelscript\/excelscript.workbook?WT.mc_id=M365-MVP-4029057#getworksheets--\" title=\"ExcelScript.Workbook interface - Office Scripts | Microsoft Docs\" target=\"_blank\" rel=\"noopener noreferrer\">(Workbook).getWorksheets<\/a>\u30e1\u30bd\u30c3\u30c9\u3067Worksheet\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u683c\u7d0d\u3059\u308b\u914d\u5217\u3092\u53d6\u5f97\u3057\u3001n\u756a\u76ee\u306e\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/kinuasa\/5b6b1e6411e62bf940533fd54d5a6c06.js\"><\/script><\/p>\n<div id=\"single_banner_area2\" class=\"clearfix one_banner\">\n<div class=\"single_banner single_banner_left\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u8a18\u4e8b\u4e2d(\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u5e83\u544a\u30e6\u30cb\u30c3\u30c8) -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-7306936664602087\"\r\n     data-ad-slot=\"5429724765\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n<div class=\"single_banner single_banner_right\">\n<a href=\"\" target=\"_blank\"><img decoding=\"async\" src=\"\" alt=\"\" title=\"\" \/><\/a>\n<\/div>\n<\/div>\n\n<h4 class=\"style4a\">\u95a2\u9023\u8a18\u4e8b<\/h4>\n<div class=\"cardlink\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=12733\"><div class=\"cardlink_thumbnail\"><img src='https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeScripts-120x120.jpg' alt='Office Scripts(Office \u30b9\u30af\u30ea\u30d7\u30c8)\u306e\u8a18\u4e8b\u307e\u3068\u3081' width=120 height=120 \/><\/a><\/div><div class=\"cardlink_content\"><span class=\"timestamp\">2020.05.03<\/span><div class=\"cardlink_title\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=12733\">Office Scripts(Office \u30b9\u30af\u30ea\u30d7\u30c8)\u306e\u8a18\u4e8b\u307e\u3068\u3081 <\/a><\/div><div class=\"cardlink_excerpt\">\u5f53\u30d6\u30ed\u30b0\u306e\u300cOffice Scripts\u300d\u95a2\u9023\u306e\u8a18\u4e8b\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002\r\n\r\n\r\nOffice Scripts\u306e\u57fa\u672c\r\n\u30bb\u30eb\u64cd\u4f5c\r\n\u30b7\u30fc\u30c8\u64cd\u4f5c\r\n\u56f3\u5f62\u30fb\u753b\u50cf\u64cd\u4f5c\r\n\u30c6\u30fc\u30d6\u30eb\u64cd\u4f5c\r\n\u30b0\u30e9\u30d5\u64cd\u4f5c\r\nPower Automate\u9023\u643a\r\n\u305d\u306e\u4ed6\r\n\r\n\r\n\r\n\r\nO...<\/div><\/div><div class=\"cardlink_footer\"><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"\u4eca\u56de\u306f\u3001Office Scripts\u306e\u57fa\u672c\u3068\u306a\u308b\u30b7\u30fc\u30c8\u306e\u53d6\u5f97\u65b9\u6cd5\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002 \u30a2\u30af\u30c6\u30a3\u30d6\u30b7\u30fc\u30c8\u3092\u53d6\u5f97 (Workbook).getActiveWorksheet\u30e1\u30bd\u30c3\u30c9\u3067\u3001\u73fe\u5728\u4f5c\u696d\u4e2d\u306e\u30a2\u30af\u30c6\u30a3\u30d6\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e [&hellip;]","protected":false},"author":1,"featured_media":12699,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"[[Office Scripts]\u30b7\u30fc\u30c8\u306e\u53d6\u5f97\u65b9\u6cd5\u307e\u3068\u3081]","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[173],"tags":[],"class_list":["post-12707","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-officescripts"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeScripts.jpg","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-3iX","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12707"}],"version-history":[{"count":7,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12707\/revisions"}],"predecessor-version":[{"id":13129,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12707\/revisions\/13129"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/12699"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}