{"id":11964,"date":"2019-07-23T15:00:16","date_gmt":"2019-07-23T06:00:16","guid":{"rendered":"https:\/\/www.ka-net.org\/blog\/?p=11964"},"modified":"2022-09-05T22:28:26","modified_gmt":"2022-09-05T13:28:26","slug":"%e6%97%a5%e6%9c%ac%e6%a8%99%e6%ba%96%e6%99%82jst%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8bvba%e3%83%9e%e3%82%af%e3%83%ad","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=11964","title":{"rendered":"\u65e5\u672c\u6a19\u6e96\u6642(JST)\u3092\u53d6\u5f97\u3059\u308bVBA\u30de\u30af\u30ed"},"content":{"rendered":"<p>\u5148\u65e5\u3001\u3082\u308a(<a href=\"https:\/\/twitter.com\/moripro3\/\" title=\"\u3082\u308a@VBA\u00d7GAS\u00d7IT\u30e9\u30a4\u30bf\u30fc(@moripro3)\u3055\u3093\" target=\"_blank\" rel=\"noopener noreferrer\">@moripro3<\/a>)\u3055\u3093\u306e\u30c4\u30a4\u30fc\u30c8\u306b\u5bfe\u3057\u3066\u4e0b\u8a18\u306e\u3088\u3046\u306a\u8fd4\u4fe1\u3092\u3057\u305f\u306e\u3067\u3001\u4f8b\u3068\u3057\u3066\u7c21\u5358\u306a\u30b5\u30f3\u30d7\u30eb\u7528\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"ja\">\n<p lang=\"ja\" dir=\"ltr\">\u300c\u7aef\u672b\u306e\u6642\u9593\u3044\u3058\u3063\u3066\u3084\u308b\u305c\u30fc&#x1f47b;\u300d\u306a\u3093\u3066\u65b9\u304c\u3044\u306a\u3044\u3068\u3082\u9650\u3089\u306a\u3044\u306e\u3067\u3001\u3069\u3053\u304b\u306e\u30b5\u30fc\u30d0\u30fc\u3084\u3089API\u3084\u3089\u304b\u3089\u65e5\u6642\u53d6\u5f97\u3068\u3044\u3046\u306e\u3082\u9762\u767d\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093&#x1f609;<\/p>\n<p>&mdash; \u304d\u306c\u3042\u3055 (@kinuasa) <a href=\"https:\/\/twitter.com\/kinuasa\/status\/1153067317363761152?ref_src=twsrc%5Etfw\">2019\u5e747\u670821\u65e5<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<p><a href=\"http:\/\/www.nict.go.jp\/index.html\" title=\"NICT - \u30c8\u30c3\u30d7\u30da\u30fc\u30b8 | NICT-\u60c5\u5831\u901a\u4fe1\u7814\u7a76\u6a5f\u69cb\" target=\"_blank\" rel=\"noopener noreferrer\">NICT<\/a>\u304c\u516c\u958b\u3057\u3066\u3044\u308b<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\">API<\/a>\u3092\u4f7f\u3063\u3066\u3001<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E6%97%A5%E6%9C%AC%E6%A8%99%E6%BA%96%E6%99%82\" title=\"\u65e5\u672c\u6a19\u6e96\u6642 - Wikipedia\" target=\"_blank\" rel=\"noopener noreferrer\">\u65e5\u672c\u6a19\u6e96\u6642<\/a>(NHK\u3084\u6642\u5831\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u3001\u3044\u308f\u3086\u308b\u65e5\u672c\u6642\u9593)\u3092\u53d6\u5f97\u3059\u308bVBA\u30de\u30af\u30ed\u3067\u3059\u3002<br \/>\n(\u4ee5\u524d\u3069\u3053\u304b\u3067\u66f8\u3044\u305f\u3088\u3046\u306a\u6c17\u3082\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u65b0\u3057\u304f\u66f8\u304d\u76f4\u3057\u307e\u3057\u305f\u3002)<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nPublic Sub Sample()\r\n  Dim dt As Date\r\n  \r\n  dt = GetJST()\r\n  If dt = CDate(0) Then Exit Sub\r\n  MsgBox &quot;\u73fe\u5728\u306e\u6642\u523b\u306f &#x5B;&quot; &amp; Format(dt, &quot;yyyy\u5e74m\u6708d\u65e5 h\u6642n\u5206s\u79d2&quot;) &amp; &quot;] \u3067\u3059\u3002&quot;, _\r\n         vbInformation + vbSystemModal, _\r\n         &quot;\u65e5\u672c\u6a19\u6e96\u6642&quot;\r\nEnd Sub\r\n\r\nPrivate Function GetJST() As Date\r\n'NICT\u306e\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u65e5\u672c\u6a19\u6e96\u6642\u53d6\u5f97\r\n'\u203b\u540c\u4e00IP\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u306f1\u79d2\u4ee5\u4e0a\u306e\u9593\u9694\u3092\u7a7a\u3051\u308b\u3053\u3068\r\n' http:\/\/www.nict.go.jp\/JST\/http.html\r\n  Dim js As String\r\n  Dim d As Object, elm As Object\r\n  Dim dt As Date\r\n  Const api_url As String = &quot;https:\/\/ntp-a1.nict.go.jp\/cgi-bin\/json&quot;\r\n  \r\n  On Error Resume Next '\u30a8\u30e9\u30fc\u51e6\u7406\u306f\u624b\u629c\u304d\r\n  'JSON\u53d6\u5f97\r\n  With CreateObject(&quot;WinHttp.WinHttpRequest.5.1&quot;)\r\n    .Open &quot;GET&quot;, api_url, False\r\n    .Send\r\n    Select Case .Status\r\n      Case 200: js = .ResponseText\r\n      Case Else: GoTo Fin\r\n    End Select\r\n  End With\r\n  \r\n  'JSON\u304b\u3089\u65e5\u6642\u53d6\u5f97\r\n  If Len(Trim(js)) &lt; 1 Then GoTo Fin\r\n  js = &quot;(&quot; &amp; js &amp; &quot;)&quot; '\u4e38\u62ec\u5f27\u3067\u56f2\u3093\u3067eval\r\n  Set d = CreateObject(&quot;htmlfile&quot;)\r\n  Set elm = d.createElement(&quot;span&quot;)\r\n  elm.setAttribute &quot;id&quot;, &quot;result&quot;\r\n  d.body.appendChild elm\r\n  d.parentWindow.execScript &quot;document.getElementById('result').innerText = new Date(eval(&quot; &amp; js &amp; &quot;).st * 1000).toLocaleString();&quot;\r\n  If IsDate(elm.innerText) = True Then dt = CDate(elm.innerText)\r\n  If Err.Number &lt;&gt; 0 Then GoTo Fin\r\n  On Error GoTo 0\r\n  \r\nFin:\r\n  GetJST = dt\r\nEnd Function<\/pre>\n<p>\u4ed5\u7d44\u307f\u306f\u5358\u7d14\u3067\u3001<\/p>\n<p>API\u304b\u3089JSON\u53d6\u5f97<br \/>\n\u2193<br \/>\nJSON\u304b\u3089\u30b5\u30fc\u30d0\u30fc\u6642\u523b\u3092\u629c\u304d\u51fa\u3057<br \/>\n\u2193<br \/>\n\u65e5\u4ed8\uff08Date\uff09\u578b\u3068\u3057\u3066\u6642\u523b\u53d6\u5f97<\/p>\n<p>\u3068\u3044\u3063\u305f\u4f5c\u696d\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u6ce8\u610f\u70b9\u3068\u3057\u3066\u306f\u3001API\u306e<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\">\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3<\/a>\u30da\u30fc\u30b8\u306b\u3042\u308b\u901a\u308a\u3001<span style=\"color: #ff0000; font-weight: bold;\">\u540c\u4e00IP\u304b\u3089\u9023\u7d9a\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5834\u5408\u30011\u79d2\u4ee5\u4e0a\u306e\u9593\u9694\u3092\u7a7a\u3051\u308b\u5fc5\u8981\u304c\u3042\u308b<\/span>\u3053\u3068\u3067\u3059\u3002<\/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<p>\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u306f\u3001\u4e0a\u8a18\u4ee5\u5916\u306b\u3082\u3001\u4f8b\u3048\u3070\u4e0b\u8a18\u30b5\u30a4\u30c8\u3067\u7d39\u4ecb\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306a\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u30d8\u30c3\u30c0\u30fc(Date)\u3092\u4f7f\u3046\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u305d\u306e\u3042\u305f\u308a\u306f\u304a\u597d\u307f\u3067\u51e6\u7406\u3059\u308c\u3070\u826f\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<div class=\"linkcard\"><div class=\"lkc-external-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/iwb.jp\/javascript-server-timer-without-jquery\/\" 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=iwb.jp\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">iwb.jp<\/div><\/div><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/pz-linkcard\/cache\/15c6138fbaad36e142c205b7c06d44591824b4ab4e4338ae69050131b1838fe4.jpeg\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">JavaScript\u3060\u3051\u3067\u30b5\u30fc\u30d0\u30fc\u6642\u9593\u3092\u53d6\u5f97\u3057\u305f\u30bf\u30a4\u30de\u30fc\u4f5c\u6210\u65b9\u6cd5<\/div><div class=\"lkc-url\" title=\"https:\/\/iwb.jp\/javascript-server-timer-without-jquery\/\">https:\/\/iwb.jp\/javascript-server-timer-without-jquery\/<\/div><div class=\"lkc-excerpt\">JavaScript\u3060\u3051\u3067\u30b5\u30fc\u30d0\u30fc\u6642\u9593\u3092\u53d6\u5f97 \u901a\u5e38\u73fe\u5728\u306e\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b\u969b\u306fnew Date()\u304c\u4f7f\u7528\u3055\u308c\u308b\u3053\u3068\u304c\u591a\u3044\u304cnew Date()\u306f\u30e6\u30fc\u30b6\u30fc\u306e\u30c7\u30d0\u30a4\u30b9\u306e\u65e5\u6642\u304c\u53d6\u5f97\u3055\u308c\u308b\u305f\u3081new Date()\u3060\u3068\u90fd\u5408\u304c\u60aa\u3044\u5834\u5408\u304c &hellip; &lt;p class=&quot;link-more&quot;&gt;&lt;a href=&quot;https:\/\/iwb.jp\/javascript-server-timer-without-jqu<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div>\n<hr>\n<p><span style=\"color: #ff0000; font-weight: bold;\">2022\/9\/5 \u8ffd\u8a18\uff1a<\/span><br \/>\n\u672c\u8a18\u4e8b\u306e\u30b3\u30fc\u30c9\u3067\u5229\u7528\u3057\u3066\u3044\u308b<a href=\"https:\/\/jjy.nict.go.jp\/QandA\/reference\/http-archive.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\">API<\/a>\u3067\u3059\u304c\u3001<span style=\"color: #ff0000; font-weight: bold;\">2022\u5e743\u670831\u65e5\u306b\u63d0\u4f9b\u304c\u7d42\u4e86<\/span>\u3057\u3001\u73fe\u5728\u306f<a href=\"https:\/\/jjy.nict.go.jp\/tsp\/PubNtp\/index.html\" title=\"\u65e5\u672c\u6a19\u6e96\u6642(JST)\u30b0\u30eb\u30fc\u30d7\" target=\"_blank\" rel=\"noopener\">NTP<\/a>\u306b\u3088\u308b\u6642\u523b\u914d\u4fe1\u306b\u4e00\u5143\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"linkcard\"><div class=\"lkc-external-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/jjy.nict.go.jp\/httphttps-index.html\" 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=jjy.nict.go.jp\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">jjy.nict.go.jp<\/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%2Fjjy.nict.go.jp%2Fhttphttps-index.html?w=100\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">\u65e5\u672c\u6a19\u6e96\u6642\u30b0\u30eb\u30fc\u30d7\u3000\u65b0\u7740\u60c5\u5831<\/div><div class=\"lkc-url\" title=\"https:\/\/jjy.nict.go.jp\/httphttps-index.html\">https:\/\/jjy.nict.go.jp\/httphttps-index.html<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div>\n<p>\u4e0b\u8a18\u30b5\u30a4\u30c8\u306e\u3088\u3046\u306bNTP\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u6642\u523b\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c(\u4e0b\u8a18\u30b5\u30a4\u30c8\u306e\u30b3\u30fc\u30c9\u306fPowerShell)\u3001VBA\u304b\u3089\u3068\u306a\u308b\u3068\u4e2d\u3005\u5927\u5909\u306a\u306e\u3067\u3001\u65e5\u672c\u306e\u30bf\u30a4\u30e0\u30be\u30fc\u30f3(Asia\/Tokyo)\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3001NICT\u3068\u306f\u5225\u306eAPI(<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\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<div class=\"linkcard\"><div class=\"lkc-external-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/www.powershellgallery.com\/packages\/NtpTime\/1.1\/Content\/NtpTime.psm1\" 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=www.powershellgallery.com\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">www.powershellgallery.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%2Fwww.powershellgallery.com%2Fpackages%2FNtpTime%2F1.1%2FContent%2FNtpTime.psm1?w=100\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">PowerShell Gallery        | NtpTime.psm1 1.1    <\/div><div class=\"lkc-url\" title=\"https:\/\/www.powershellgallery.com\/packages\/NtpTime\/1.1\/Content\/NtpTime.psm1\">https:\/\/www.powershellgallery.com\/packages\/NtpTime\/1.1\/Content\/NtpTime.psm1<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nPublic Sub Sample()\r\n  Dim dt As Date\r\n   \r\n  dt = GetJST()\r\n  If dt = CDate(0) Then Exit Sub\r\n  MsgBox &quot;\u73fe\u5728\u306e\u6642\u523b\u306f &#x5B;&quot; &amp; Format(dt, &quot;yyyy\u5e74m\u6708d\u65e5 h\u6642n\u5206s\u79d2&quot;) &amp; &quot;] \u3067\u3059\u3002&quot;, _\r\n         vbInformation + vbSystemModal\r\nEnd Sub\r\n\r\n'--------------------------------------------------\r\n' WorldTimeAPI\u3092\u4f7f\u3063\u3066\u65e5\u672c\u306e\u73fe\u5728\u6642\u523b\u53d6\u5f97\r\n'   \u203b\u77ed\u6642\u9593\u3067\u306e\u591a\u6570\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u9001\u4fe1\u306f\u7981\u6b62\r\n'   \u203b\u6b63\u78ba\u3055\u306b\u3064\u3044\u3066\u306f100%\u306e\u7cbe\u5ea6\u4fdd\u8a3c\u7121\u3057\r\n'   \u203b\u8a73\u7d30\u306f\u4e0b\u8a18\u516c\u5f0f\u30b5\u30a4\u30c8\u53c2\u7167\r\n'     http:\/\/worldtimeapi.org\/pages\/faqs\r\n'--------------------------------------------------\r\nPrivate Function GetJST() As Date\r\n  Dim dt As Date\r\n  Const api_url As String = &quot;https:\/\/worldtimeapi.org\/api\/timezone\/Asia\/Tokyo&quot;\r\n  \r\n  Dim js As String\r\n  On Error Resume Next\r\n  With CreateObject(&quot;WinHttp.WinHttpRequest.5.1&quot;)\r\n    .Open &quot;GET&quot;, api_url, False\r\n    .Send\r\n    Select Case .Status\r\n      Case 200: js = .ResponseText\r\n    End Select\r\n  End With\r\n  On Error GoTo 0\r\n  \r\n  If Len(Trim(js)) &gt; 0 Then\r\n    js = &quot;(&quot; &amp; js &amp; &quot;)&quot;\r\n    Dim d As Object, elm As Object\r\n    Set d = CreateObject(&quot;htmlfile&quot;)\r\n    Set elm = d.createElement(&quot;span&quot;)\r\n    elm.setAttribute &quot;id&quot;, &quot;result&quot;\r\n    d.body.appendChild elm\r\n    d.parentWindow.execScript &quot;const dt = new Date(eval(&quot; &amp; js &amp; &quot;).datetime);document.getElementById('result').innerText = dt.getFullYear() + '\/' + ('0' + (dt.getMonth() + 1)).slice(-2) + '\/' + ('0' + dt.getDate()).slice(-2) + ' ' + ('0' + dt.getHours()).slice(-2) + ':' + ('0' + dt.getMinutes()).slice(-2) + ':' + ('0' + dt.getSeconds()).slice(-2);&quot;\r\n    If IsDate(elm.innerText) = True Then dt = CDate(elm.innerText)\r\n  End If\r\n  GetJST = dt\r\nEnd Function<\/pre>\n<p><a href=\"https:\/\/worldtimeapi.org\/pages\/faqs\" 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\">\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u306b\u3082\u6ce8\u610f\u66f8\u304d\u304c\u3042\u308b\u901a\u308a\u3001NTP\u306e\u66ff\u308f\u308a\u3068\u306a\u308b\u3082\u306e\u3067\u306f\u306a\u304f\u3001\u6b63\u78ba\u6027\u304c\u4fdd\u8a3c\u3055\u308c\u305f\u3082\u306e\u3067\u306f\u306a\u3044\u3067\u3059\u304c\u3001\u975e\u5e38\u306b\u4fbf\u5229\u306aAPI\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5148\u65e5\u3001\u3082\u308a(@moripro3)\u3055\u3093\u306e\u30c4\u30a4\u30fc\u30c8\u306b\u5bfe\u3057\u3066\u4e0b\u8a18\u306e\u3088\u3046\u306a\u8fd4\u4fe1\u3092\u3057\u305f\u306e\u3067\u3001\u4f8b\u3068\u3057\u3066\u7c21\u5358\u306a\u30b5\u30f3\u30d7\u30eb\u7528\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002 \u300c\u7aef\u672b\u306e\u6642\u9593\u3044\u3058\u3063\u3066\u3084\u308b\u305c\u30fc&#x1f47b;\u300d\u306a\u3093\u3066\u65b9\u304c\u3044\u306a\u3044\u3068\u3082\u9650\u3089\u306a\u3044\u306e\u3067\u3001 [&hellip;]","protected":false},"author":1,"featured_media":7120,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"[\u65e5\u672c\u6a19\u6e96\u6642(JST)\u3092\u53d6\u5f97\u3059\u308bVBA\u30de\u30af\u30ed]","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":[4,48,49,58],"tags":[],"class_list":["post-11964","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-excel-office","category-word-office","category-powerpoint"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeVBA.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-36Y","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11964","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=11964"}],"version-history":[{"count":4,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11964\/revisions"}],"predecessor-version":[{"id":14874,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11964\/revisions\/14874"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7120"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}