{"id":1933,"date":"2012-07-17T14:19:31","date_gmt":"2012-07-17T05:19:31","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=1933"},"modified":"2017-02-21T09:05:38","modified_gmt":"2017-02-21T00:05:38","slug":"excel-2013%e3%81%a7%e8%bf%bd%e5%8a%a0%e3%81%95%e3%82%8c%e3%81%9f%e3%80%8cwebservice%e3%80%8d%e9%96%a2%e6%95%b0%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%80%81%e3%83%9e%e3%82%af%e3%83%ad%e3%82%92%e4%bd%bf","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=1933","title":{"rendered":"Excel 2013\u3067\u8ffd\u52a0\u3055\u308c\u305f\u300cWEBSERVICE\u300d\u95a2\u6570\u3092\u4f7f\u3063\u3066\u3001\u30de\u30af\u30ed\u3092\u4f7f\u308f\u305aWeb API\u3092\u5229\u7528\u3059\u308b\u3002"},"content":{"rendered":"<p>Microsoft Office 2013\u304c\u767b\u5834\u3057\u3001Excel\u306b\u3082\u65b0\u3057\u3044\u95a2\u6570\u304c\u3044\u304f\u3064\u304b\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\n\u305d\u306e\u4e2d\u3067\u3082\u79c1\u304c\u7279\u306b\u6ce8\u76ee\u3057\u305f\u3044\u306e\u304c\u300c<span style=\"color: #ff0000; font-weight: bold;\">Web<\/span>\u300d\u95a2\u9023\u306e\u95a2\u6570\u3067\u3059\u3002<\/p>\n<p>\u300c<span style=\"color: #ff0000; font-weight: bold;\">WEBSERVICE<\/span>\u300d\u300c<span style=\"color: #ff0000; font-weight: bold;\">ENCODEURL<\/span>\u300d\u300c<span style=\"color: #ff0000; font-weight: bold;\">FILTERXML<\/span>\u300d\u306e3\u3064\u306e\u95a2\u6570\u304c\u8ffd\u52a0\u3055\u308c\u3001\u3053\u308c\u3089\u306e\u95a2\u6570\u3092\u4f7f\u3046\u3068\u3001Web\u30b5\u30fc\u30d3\u30b9\u3001\u3064\u307e\u308a\u516c\u958b\u3055\u308c\u3066\u3044\u308bWeb API\u3092VBA\u3067\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u306a\u304f\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u95a2\u6570\u306e\u8aac\u660e\u304b\u3089\u3002<\/p>\n<p><strong>\u30fbENCODEURL(\u6587\u5b57\u5217)\uff1aURL \u306b\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305f\u6587\u5b57\u5217\u3092\u8fd4\u3057\u307e\u3059\u3002<\/strong><br \/>\n<strong>\u30fbFILTERXML(xml,xpath)\uff1a\u6307\u5b9a\u3055\u308c\u305f XPath \u306b\u5f93\u3063\u3066\u3001XML \u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u7279\u5b9a\u30c7\u30fc\u30bf\u3092\u8fd4\u3057\u307e\u3059\u3002<\/strong><br \/>\n<strong>\u30fbWEBSERVICE(url)\uff1aWeb \u30b5\u30fc\u30d3\u30b9\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8fd4\u3057\u307e\u3059\u3002<\/strong><\/p>\n<p>\u4f7f\u3044\u65b9\u3068\u3057\u3066\u306f\u3001ENCODEURL\u95a2\u6570\u3067\u30a8\u30f3\u30b3\u30fc\u30c9\u3057\u305f\u30af\u30a8\u30ea\u6587\u5b57\u5217\u3092\u3001WEBSERVICE\u95a2\u6570\u3067\u6307\u5b9a\u3057\u305fURL\u306b\u6e21\u3057\u3001\u7d50\u679c\u3068\u3057\u3066\u5f97\u3089\u308c\u308bXML\u304b\u3089FILTERXML\u95a2\u6570\u3092\u4f7f\u3063\u3066\u4efb\u610f\u306e\u5024\u3092\u53d6\u5f97\u3059\u308b(\u5024\u306fXPath\u5f0f\u3067\u6307\u5b9a)\u3001\u3068\u3044\u3046\u6d41\u308c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001SimpleAPI\u300c<a href=\"http:\/\/wikipedia.simpleapi.net\/\" title=\"WikipediaAPI\" target=\"_blank\">WikipediaAPI<\/a>\u300d\u3092\u5229\u7528\u3057\u3066Wikipedia\u306e\u8a18\u4e8b\u5185\u5bb9\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30bb\u30ebA1\uff1a\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u5165\u529b<br \/>\n\u30bb\u30ebA2\uff1a<\/p>\n<p><textarea cols=60 rows=2 onclick=\"this.focus();this.select();\">=FILTERXML(WEBSERVICE(&#34;http:\/\/wikipedia.simpleapi.net\/api?output=xml&#038;keyword=&#34; &#038; ENCODEURL($A1)),&#34;\/results\/result\/body&#34;)<\/textarea><\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_02_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_02_01-300x158.jpg\" alt=\"\" title=\"Office2013_02_01\" width=\"300\" height=\"158\" class=\"alignnone size-medium wp-image-1934\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_02_01-300x158.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_02_01-290x153.jpg 290w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_02_01-150x79.jpg 150w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_02_01.jpg 947w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u30bb\u30ebA2\u306e\u5f0f\u3067\u306f\u4e0a\u8a18\u306e\u8aac\u660e\u901a\u308a\u3001API\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u5148URL[<strong>http:\/\/wikipedia.simpleapi.net\/api?output=xml&#038;keyword=<\/strong>]\u306b\u5bfe\u3057\u3066\u3001ENCODEURL\u95a2\u6570\u3067\u30a8\u30f3\u30b3\u30fc\u30c9\u3057\u305f\u30af\u30a8\u30ea\u6587\u5b57\u5217\u3092WEBSERVICE\u95a2\u6570\u3067\u6e21\u3057\u3001\u7d50\u679c\u3068\u3057\u3066\u5f97\u3089\u308c\u308bXML\u304b\u3089\u3001\u76ee\u7684\u3068\u306a\u308b\u30c7\u30fc\u30bf(body\u8981\u7d20\u306e\u5024)\u3092FILTERXML\u95a2\u6570\u3092\u4f7f\u3063\u3066\u62bd\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u307e\u3067\u306eExcel\u3067\u306fWeb API\u3092\u5229\u7528\u3059\u308b\u306e\u306b\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u5fc5\u8981\u3068\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u4eca\u30d0\u30fc\u30b8\u30e7\u30f3\u304b\u3089\u306f\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u306a\u304fAPI\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059(\u3082\u3061\u308d\u3093\u3001\u3088\u308a\u67d4\u8edf\u306bAPI\u3092\u5229\u7528\u3057\u305f\u3044\u5834\u5408\u306f\u81ea\u5206\u3067\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u2026)\u3002<\/p>\n<p><span style=\"color: #ff0000; font-weight: bold;\">&#8220;Web\u306e\u4e16\u754c\u3067\u306f\u5e83\u304f\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u3001\u4fbf\u5229\u306aWeb API\u3092Excel\u304b\u3089\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u4e0d\u8981\u3067\u7c21\u5358\u306b\u5229\u7528\u3067\u304d\u308b&#8221;<\/span><\/p>\n<p>\u3068\u3066\u3082\u4fbf\u5229\u3060\u3068\u601d\u3044\u307e\u305b\u3093\u304b\uff1f<br \/>\n\u3061\u306a\u307f\u306b\u3001<a href=\"http:\/\/zip.cgis.biz\/\" title=\"\u90f5\u4fbf\u756a\u53f7\u691c\u7d22API\" target=\"_blank\">\u90f5\u4fbf\u756a\u53f7\u691c\u7d22API<\/a>\u3092\u5229\u7528\u3059\u308c\u3070\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u90f5\u4fbf\u756a\u53f7\u304b\u3089\u4f4f\u6240\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><textarea cols=60 rows=2 onclick=\"this.focus();this.select();\">=FILTERXML(WEBSERVICE(&#34;http:\/\/zip.cgis.biz\/xml\/zip.php?zn=&#34; &#038; $A2),&#34;\/ZIP_result\/ADDRESS_value\/value[@address]\/@address&#34;)<\/textarea><\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_02_02.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_02_02-300x158.jpg\" alt=\"\" title=\"Office2013_02_02\" width=\"300\" height=\"158\" class=\"alignnone size-medium wp-image-1935\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_02_02-300x158.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_02_02-290x153.jpg 290w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_02_02-150x79.jpg 150w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_02_02.jpg 947w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000; font-weight: bold;\">2012\/07\/27 \u8ffd\u8a18\uff1a<\/span>WEBSERVICE\u95a2\u6570\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306a\u6ce8\u610f\u4e8b\u9805\u3082\u3042\u308b\u306e\u3067\u8a18\u8f09\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n<span style=\"color: #ff0000; font-weight: bold;\">2013\/01\/10 \u8ffd\u8a18\uff1a<\/span>\u6ce8\u610f\u4e8b\u9805\u3092\u4e00\u90e8\u5909\u66f4\u3057\u307e\u3057\u305f\u3002<\/p>\n<blockquote><p>\n\u30fb\u5f15\u6570\u304c\u30c7\u30fc\u30bf\u3092\u8fd4\u305b\u306a\u3044\u5834\u5408\u3001\u30a8\u30e9\u30fc\u5024 #VALUE! \u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<br \/>\n\u30fb\u5f15\u6570\u304c\u7121\u52b9\u306a\u6587\u5b57\u5217\u3068\u5224\u660e\u3057\u305f\u5834\u5408\u3001\u307e\u305f\u306f\u5f15\u6570\u304c\u30bb\u30eb\u306e\u8a31\u5bb9\u7bc4\u56f2\u3067\u3042\u308b 32767 \u6587\u5b57\u3092\u8d85\u3048\u308b\u6587\u5b57\u5217\u306b\u306a\u3063\u305f\u5834\u5408\u3001\u30a8\u30e9\u30fc\u5024 #VALUE! \u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<br \/>\n\u30fbURL \u306e\u6587\u5b57\u5217\u304c GET \u8981\u6c42\u306e\u8a31\u5bb9\u7bc4\u56f2\u3067\u3042\u308b 2048 \u6587\u5b57\u3092\u8d85\u3048\u308b\u5834\u5408\u3001\u30a8\u30e9\u30fc\u5024 #VALUE! \u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<br \/>\n\u30fbftp:\/\/ \u307e\u305f\u306f file:\/\/ \u306a\u3069\u306e\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u30d7\u30ed\u30c8\u30b3\u30eb\u306e\u5834\u5408\u3001\u30a8\u30e9\u30fc\u5024 #VALUE! \u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p><\/blockquote>\n<p><a href=\"http:\/\/office.microsoft.com\/ja-jp\/excel-help\/webservice-function-HA102780998.aspx\" title=\"WEBSERVICE \u95a2\u6570\" target=\"_blank\">WEBSERVICE \u95a2\u6570<\/a>\u3088\u308a<\/p>\n<h4>\u25a0 \u95a2\u9023Web\u30da\u30fc\u30b8<\/h4>\n<p><strong>\u30fb[Excel 2013]Web\u95a2\u6570\u3092\u4f7f\u3063\u3066\u30de\u30c3\u30b7\u30e5\u30a2\u30c3\u30d7<\/strong><br \/>\n<a href=\"https:\/\/www.ka-net.org\/blog\/?p=2462\" title=\"[Excel 2013]Web\u95a2\u6570\u3092\u4f7f\u3063\u3066\u30de\u30c3\u30b7\u30e5\u30a2\u30c3\u30d7\" target=\"_blank\">https:\/\/www.ka-net.org\/blog\/?p=2462<\/a><br \/>\n<strong>\u30fb[Excel 2013]Web\u95a2\u6570\u3092\u4f7f\u3063\u3066XML\u30c7\u30fc\u30bf\u304b\u3089\u8907\u6570\u306e\u30ec\u30b3\u30fc\u30c9\u3092\u307e\u3068\u3081\u3066\u62bd\u51fa\u3059\u308b\u3002<\/strong><br \/>\n<a href=\"https:\/\/www.ka-net.org\/blog\/?p=3266\" title=\"[Excel 2013]Web\u95a2\u6570\u3092\u4f7f\u3063\u3066XML\u30c7\u30fc\u30bf\u304b\u3089\u8907\u6570\u306e\u30ec\u30b3\u30fc\u30c9\u3092\u307e\u3068\u3081\u3066\u62bd\u51fa\u3059\u308b\u3002\" target=\"_blank\">https:\/\/www.ka-net.org\/blog\/?p=3266<\/a><\/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","protected":false},"excerpt":{"rendered":"Microsoft Office 2013\u304c\u767b\u5834\u3057\u3001Excel\u306b\u3082\u65b0\u3057\u3044\u95a2\u6570\u304c\u3044\u304f\u3064\u304b\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002 \u305d\u306e\u4e2d\u3067\u3082\u79c1\u304c\u7279\u306b\u6ce8\u76ee\u3057\u305f\u3044\u306e\u304c\u300cWeb\u300d\u95a2\u9023\u306e\u95a2\u6570\u3067\u3059\u3002 \u300cWEBSERVICE\u300d\u300cENCODEURL\u300d\u300cFILT [&hellip;]","protected":false},"author":1,"featured_media":7111,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,79],"tags":[74,81],"class_list":["post-1933","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-office2013","tag-office-2013","tag-excel-2013"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Excel.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-vb","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1933","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=1933"}],"version-history":[{"count":12,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1933\/revisions"}],"predecessor-version":[{"id":7994,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1933\/revisions\/7994"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7111"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}