{"id":12961,"date":"2020-07-21T12:00:44","date_gmt":"2020-07-21T03:00:44","guid":{"rendered":"https:\/\/www.ka-net.org\/blog\/?p=12961"},"modified":"2022-09-15T16:17:50","modified_gmt":"2022-09-15T07:17:50","slug":"office-scripts%e5%a4%96%e9%83%a8api%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=12961","title":{"rendered":"[Office Scripts]\u5916\u90e8API\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5"},"content":{"rendered":"<p>\u4e0b\u8a18\u30b5\u30a4\u30c8\u306b\u3042\u308b\u3088\u3046\u306b\u3001Office Scripts\u3067\u306f\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<div class=\"linkcard\"><div class=\"lkc-external-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/docs.microsoft.com\/ja-jp\/office\/dev\/scripts\/develop\/javascript-objects?WT.mc_id=M365-MVP-4029057\" target=\"_blank\" rel=\"external nofollow noopener\"><div class=\"lkc-card\"><div class=\"lkc-info\"><div class=\"lkc-favicon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.google.com\/s2\/favicons?domain=docs.microsoft.com\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">docs.microsoft.com<\/div><\/div><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"https:\/\/s.wordpress.com\/mshots\/v1\/https%3A%2F%2Fdocs.microsoft.com%2Fja-jp%2Foffice%2Fdev%2Fscripts%2Fdevelop%2Fjavascript-objects%3FWT.mc_id%3DM365-MVP-4029057?w=100\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">Office \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306e\u7d44\u307f\u8fbc\u307f\u306e JavaScript \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f7f\u7528 - Office Scripts<\/div><div class=\"lkc-url\" title=\"https:\/\/docs.microsoft.com\/ja-jp\/office\/dev\/scripts\/develop\/javascript-objects?WT.mc_id=M365-MVP-4029057\">https:\/\/docs.microsoft.com\/ja-jp\/office\/dev\/scripts\/develop\/javascript-objects?WT.mc_id=M365-MVP-4029057<\/div><div class=\"lkc-excerpt\">Web \u4e0a\u306e Excel \u3067 Office \u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u7d44\u307f\u8fbc\u307f\u306e JavaScript Api \u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div>\n<blockquote><p>Office \u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u5916\u90e8\u306e\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fd\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4f7f\u7528\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093\u3002 \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306f\u3001\u7d44\u307f\u8fbc\u307f\u306e JavaScript \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068 Office \u30b9\u30af\u30ea\u30d7\u30c8 Api \u306e\u307f\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p><\/blockquote>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/office\/dev\/scripts\/develop\/javascript-objects?WT.mc_id=M365-MVP-4029057\" title=\"Office \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306e\u7d44\u307f\u8fbc\u307f\u306e JavaScript \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f7f\u7528 - Office Scripts | Microsoft Docs\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/docs.microsoft.com\/ja-jp\/office\/dev\/scripts\/develop\/javascript-objects<\/a> \u3088\u308a<\/p>\n<p>\u305f\u3060\u3057\u3001\u9069\u5207\u306a\u5f62\u3067\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u5916\u90e8\u306eAPI\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u3002<br \/>\n\u4e0b\u8a18\u30b3\u30fc\u30c9\u306f\u3001<a href=\"http:\/\/www.nict.go.jp\/JST\/http.html\" title=\"\u65e5\u672c\u6a19\u6e96\u6642\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3000https\/http \u3092\u4ecb\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3055\u308c\u308b\u5834\u5408\" target=\"_blank\" rel=\"noopener noreferrer\">NICT\u304c\u516c\u958b\u3057\u3066\u3044\u308bAPI<\/a>\u3092\u4f7f\u3063\u3066\u65e5\u672c\u6a19\u6e96\u6642\u3092\u53d6\u5f97\u3057\u3001\u30bb\u30eb\u306b\u66f8\u304d\u8fbc\u3080\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<div class=\"linkcard\"><div class=\"lkc-external-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/docs.microsoft.com\/ja-jp\/office\/dev\/scripts\/develop\/external-calls?WT.mc_id=M365-MVP-4029057\" target=\"_blank\" rel=\"external nofollow noopener\"><div class=\"lkc-card\"><div class=\"lkc-info\"><div class=\"lkc-favicon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.google.com\/s2\/favicons?domain=docs.microsoft.com\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">docs.microsoft.com<\/div><\/div><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"https:\/\/s.wordpress.com\/mshots\/v1\/https%3A%2F%2Fdocs.microsoft.com%2Fja-jp%2Foffice%2Fdev%2Fscripts%2Fdevelop%2Fexternal-calls%3FWT.mc_id%3DM365-MVP-4029057?w=100\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">Office \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306e\u5916\u90e8 API \u547c\u3073\u51fa\u3057\u306e\u30b5\u30dd\u30fc\u30c8 - Office Scripts<\/div><div class=\"lkc-url\" title=\"https:\/\/docs.microsoft.com\/ja-jp\/office\/dev\/scripts\/develop\/external-calls?WT.mc_id=M365-MVP-4029057\">https:\/\/docs.microsoft.com\/ja-jp\/office\/dev\/scripts\/develop\/external-calls?WT.mc_id=M365-MVP-4029057<\/div><div class=\"lkc-excerpt\">Office \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u5916\u90e8 API \u547c\u3073\u51fa\u3057\u3092\u884c\u3046\u305f\u3081\u306e\u30b5\u30dd\u30fc\u30c8\u3068\u30ac\u30a4\u30c0\u30f3\u30b9\u3002<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div>\n<p><script src=\"https:\/\/gist.github.com\/kinuasa\/d26cf1fb485f515745776791374ea8d6.js\"><\/script><\/p>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30b3\u30fc\u30c9\u306e\u9014\u4e2d\u3067<i>\u300cCannot find name &#8216;fetch&#8217;\u300d<\/i>\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u304c\u3001\u7d50\u679c\u306f\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/ExternalAPICall_01.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/ExternalAPICall_01.gif\" alt=\"\" width=\"927\" height=\"388\" class=\"alignnone size-full wp-image-12962\" \/><\/a><\/p>\n<p>\u307e\u305f\u3001\u4e0a\u8a18\u306e\u3088\u3046\u306a\u5916\u90e8API\u306e\u5b9f\u884c\u306f\u3001\u73fe\u6642\u70b9\u3067\u306fExcel\u304b\u3089\u306e\u5b9f\u884c\u306e\u307f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u304a\u308a\u3001Power Automate\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u305f\u969b\u306b\u306f\u30e9\u30f3\u30bf\u30a4\u30e0\u30a8\u30e9\u30fc(fetch is not defined)\u304c\u767a\u751f\u3057\u307e\u3059\u306e\u3067\u3001\u305d\u306e\u70b9\u306f\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/p>\n<hr>\n<p><span style=\"color: #ff0000; font-weight: bold;\">2022\/9\/15 \u8ffd\u8a18\uff1a<\/span><br \/>\nNICT\u306eAPI\u306e\u63d0\u4f9b\u304c\u7d42\u4e86\u3057\u3066\u3044\u308b\u305f\u3081\u3001<a href=\"https:\/\/worldtimeapi.org\/\" title=\"World Time API: Simple JSON\/plain-text API to obtain the current time in, and related data about, a timezone.\" target=\"_blank\" rel=\"noopener\">World Time API<\/a>\u304b\u3089\u6642\u523b\u3092\u53d6\u5f97\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u307e\u3057\u305f\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/kinuasa\/3e6800d435a46763140daaae699486e7.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\">\u53c2\u8003Web\u30b5\u30a4\u30c8<\/h4>\n<div class=\"linkcard\"><div class=\"lkc-external-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/docs.microsoft.com\/ja-jp\/office\/dev\/scripts\/develop\/external-calls?WT.mc_id=M365-MVP-4029057\" target=\"_blank\" rel=\"external nofollow noopener\"><div class=\"lkc-card\"><div class=\"lkc-info\"><div class=\"lkc-favicon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.google.com\/s2\/favicons?domain=docs.microsoft.com\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">docs.microsoft.com<\/div><\/div><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"https:\/\/s.wordpress.com\/mshots\/v1\/https%3A%2F%2Fdocs.microsoft.com%2Fja-jp%2Foffice%2Fdev%2Fscripts%2Fdevelop%2Fexternal-calls%3FWT.mc_id%3DM365-MVP-4029057?w=100\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">Office \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306e\u5916\u90e8 API \u547c\u3073\u51fa\u3057\u306e\u30b5\u30dd\u30fc\u30c8 - Office Scripts<\/div><div class=\"lkc-url\" title=\"https:\/\/docs.microsoft.com\/ja-jp\/office\/dev\/scripts\/develop\/external-calls?WT.mc_id=M365-MVP-4029057\">https:\/\/docs.microsoft.com\/ja-jp\/office\/dev\/scripts\/develop\/external-calls?WT.mc_id=M365-MVP-4029057<\/div><div class=\"lkc-excerpt\">Office \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u5916\u90e8 API \u547c\u3073\u51fa\u3057\u3092\u884c\u3046\u305f\u3081\u306e\u30b5\u30dd\u30fc\u30c8\u3068\u30ac\u30a4\u30c0\u30f3\u30b9\u3002<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div>\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":"\u4e0b\u8a18\u30b5\u30a4\u30c8\u306b\u3042\u308b\u3088\u3046\u306b\u3001Office Scripts\u3067\u306f\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002 Office \u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u5916\u90e8\u306e\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fd\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4f7f\u7528\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093\u3002 \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306f\u3001\u7d44\u307f\u8fbc\u307f\u306e JavaS [&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]\u5916\u90e8API\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5]","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-12961","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-3n3","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12961","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=12961"}],"version-history":[{"count":3,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12961\/revisions"}],"predecessor-version":[{"id":14913,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12961\/revisions\/14913"}],"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=12961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}