{"id":6874,"date":"2016-03-31T16:52:53","date_gmt":"2016-03-31T07:52:53","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=6874"},"modified":"2016-10-25T22:07:59","modified_gmt":"2016-10-25T13:07:59","slug":"excel-rest-api%e3%82%92vba%e3%81%8b%e3%82%89%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=6874","title":{"rendered":"Excel REST API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059\u65b9\u6cd5"},"content":{"rendered":"<p>\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=6427\" title=\"Microsoft Graph\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3057\u3066OneNote\u306e\u30da\u30fc\u30b8\u5185\u5bb9\u3092\u53d6\u5f97\u3059\u308b | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">Microsoft Graph\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3057\u3066OneNote\u306e\u30da\u30fc\u30b8\u5185\u5bb9\u3092\u53d6\u5f97\u3059\u308b<\/a>\u300d\u8a18\u4e8b\u3067\u89e6\u308c\u3066\u3044\u305f\u201c<a href=\"https:\/\/graph.microsoft.io\/ja-jp\/docs\/api-reference\/beta\/resources\/excel\" title=\"Microsoft Graph - \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 - excel\" target=\"_blank\">Excel REST API<\/a>\u201d\u3067\u3059\u304c\u3001\u77e5\u3089\u306c\u9593\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<p>\u305d\u308c\u306a\u3089\u3070\u3084\u308b\u3053\u3068\u306f\u4e00\u3064\u3002<br \/>\n<span style=\"color: #ff0000; font-weight: bold;\">VBA\u304b\u3089<\/span>\u547c\u3073\u51fa\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h4 class=\"style4a\">\u4e0b\u6e96\u5099<\/h4>\n<p>API\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306b\u3001Azure AD\u306e\u8a2d\u5b9a\u3084\u3089\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 ID\u306e\u53d6\u5f97\u3084\u3089\u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u3059\u304c\u3001\u4f5c\u696d\u624b\u9806\u306f\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=5620\" title=\"Office 365 Unified API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">Office 365 Unified API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059<\/a>\u300d\u3067\u66f8\u3044\u3066\u3044\u308b\u3053\u3068\u3068\u307b\u307c\u540c\u3058\u306a\u306e\u3067\u3001\u3053\u3053\u3067\u306f\u5272\u611b\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u7a2e\u985e\uff1a\u30cd\u30a4\u30c6\u30a3\u30d6 \u30af\u30e9\u30a4\u30a2\u30f3\u30c8 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/li>\n<li>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8 URI\uff1ahttp:\/\/localhost\/WBSample<\/li>\n<li>\u4ed6\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u5bfe\u3059\u308b\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\uff1aMicrosoft Graph<\/li>\n<li>\u30c7\u30ea\u30b2\u30fc\u30c8\u3055\u308c\u305f\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\uff1aHave full access to user files<\/li>\n<\/ol>\n<h4 class=\"style4a\">\u53d6\u5f97\u3059\u308bWorkbook<\/h4>\n<p>\u4eca\u56de\u306f\u4e0b\u56f3\u306e\u3088\u3046\u306b\u3001OneDrive\u306b\u7f6e\u3044\u3066\u3042\u308b\u300cSampleBook.xlsx\u300d\u306e\u300cSampleSheet\u300d\u30b7\u30fc\u30c8\u3001\u30bb\u30ebB3\u306e\u5024\u3092\u53d6\u5f97\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_ExcelRestAPI_VBA_01.jpg\" alt=\"MicrosoftGraph_ExcelRestAPI_VBA_01\" width=\"547\" height=\"321\" class=\"alignnone size-full wp-image-6875\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_ExcelRestAPI_VBA_01.jpg 547w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_ExcelRestAPI_VBA_01-300x176.jpg 300w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_ExcelRestAPI_VBA_02.jpg\" alt=\"MicrosoftGraph_ExcelRestAPI_VBA_02\" width=\"367\" height=\"385\" class=\"alignnone size-full wp-image-6876\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_ExcelRestAPI_VBA_02.jpg 367w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_ExcelRestAPI_VBA_02-286x300.jpg 286w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/p>\n<h4 class=\"style4a\">VBA\u30b3\u30fc\u30c9<\/h4>\n<p>\u3055\u3063\u305d\u304f\u66f8\u3044\u305f\u30b3\u30fc\u30c9\u304c\u4e0b\u8a18\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>authorization code\u53d6\u5f97<br \/>\n\u2193<br \/>\naccess token\u53d6\u5f97<br \/>\n\u2193<br \/>\nOneDrive\u306b\u4fdd\u5b58\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u304b\u3089SampleBook.xlsx\u306eID\u3092\u53d6\u5f97<br \/>\n\u2193<br \/>\nExcel REST API\u3092\u547c\u3073\u51fa\u3057\u3066\u30bb\u30eb\u306e\u5024\u3092\u53d6\u5f97<\/p>\n<p>\u51e6\u7406\u3068\u3057\u3066\u306f\u4e0a\u8a18\u306e\u3088\u3046\u306a\u6d41\u308c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nPublic Sub SampleExcelRestAPI()\r\n'\u30b5\u30f3\u30d7\u30eb - Microsoft Graph(Excel REST API)\u547c\u3073\u51fa\u3057\r\n'\u203b ScriptControl\u3092\u4f7f\u3063\u3066\u3044\u308b\u305f\u3081\u300132\u30d3\u30c3\u30c8\u74b0\u5883\u306e\u307f\u5bfe\u5fdc\r\n'\u203b \u30ea\u30c0\u30a4\u30ec\u30af\u30c8 URI\u3092localhost\u306b\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30b5\u30fc\u30d0\u30fc(XAMPP\u4ed6)\u306e\u8d77\u52d5\u304c\u5fc5\u8981\u306a\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\r\n  Dim url_auth As String\r\n  Dim url_token As String\r\n  Dim url_api As String\r\n  Dim q As String\r\n  Dim code As String\r\n  Dim js As String\r\n  Dim access_token As String\r\n  Dim workbook_id As String\r\n  Dim dat As Variant\r\n  Dim ary As Variant, ary2 As Variant\r\n  Dim req As Object\r\n  Dim sc As Object\r\n  Dim items As Object\r\n  Dim item As Object\r\n  Dim i As Long\r\n  Dim value, values, id, name 'JSON\u30d1\u30fc\u30b9\u7528\u30c0\u30df\u30fc\r\n  Const READYSTATE_COMPLETE = 4\r\n  \r\n  '***********************************\r\n  '\u203b \u8981\u5909\u66f4\r\n  '***********************************\r\n  Const client_id As String = &quot;(\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 ID)&quot; '\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 ID\r\n  Const redirect_uri As String = &quot;http:\/\/localhost\/WBSample&quot; '\u30ea\u30c0\u30a4\u30ec\u30af\u30c8 URI\r\n  Const workbook_name As String = &quot;SampleBook.xlsx&quot; '\u53d6\u5f97\u3059\u308bWorkbook\u540d\r\n  Const worksheet_name As String = &quot;SampleSheet&quot; '\u53d6\u5f97\u3059\u308bWorksheet\u540d\r\n  '***********************************\r\n  \r\n  'authorization code\u53d6\u5f97\r\n  code = &quot;&quot; '\u521d\u671f\u5316\r\n  url_auth = &quot;https:\/\/login.microsoftonline.com\/common\/oauth2\/authorize?response_type=code&quot; &amp; _\r\n             &quot;&amp;redirect_uri=&quot; &amp; EncodeURL(redirect_uri) &amp; _\r\n             &quot;&amp;client_id=&quot; &amp; client_id &amp; _\r\n             &quot;&amp;resource=&quot; &amp; EncodeURL(&quot;https:\/\/graph.microsoft.com\/&quot;)\r\n  With CreateObject(&quot;InternetExplorer.Application&quot;)\r\n    .Visible = True\r\n    .AddressBar = False\r\n    .MenuBar = False\r\n    .StatusBar = False\r\n    .Toolbar = False\r\n    .Width = 600\r\n    .Height = 480\r\n    .Navigate url_auth\r\n    While .ReadyState &lt;&gt; READYSTATE_COMPLETE Or _\r\n          .Busy = True Or _\r\n          (StrComp(Left(.LocationURL, Len(redirect_uri)), redirect_uri) &lt;&gt; 0)\r\n      DoEvents\r\n    Wend\r\n    q = .document.parentWindow.Location.Search\r\n    q = Mid(q, 2) '&quot;?&quot;\u524a\u9664\r\n    ary = Split(q, &quot;&amp;&quot;)\r\n    For i = LBound(ary) To UBound(ary)\r\n      ary2 = Split(ary(i), &quot;=&quot;)\r\n      If LCase(ary2(0)) = &quot;code&quot; Then\r\n        code = ary2(1)\r\n        Exit For\r\n      End If\r\n    Next\r\n  End With\r\n  If Len(Trim(code)) &lt; 1 Then Exit Sub\r\n  \r\n  'access token\u53d6\u5f97\r\n  js = &quot;&quot;: access_token = &quot;&quot; '\u521d\u671f\u5316\r\n  url_token = &quot;https:\/\/login.microsoftonline.com\/common\/oauth2\/token&quot;\r\n  dat = &quot;grant_type=authorization_code&quot; &amp; _\r\n        &quot;&amp;code=&quot; &amp; code &amp; _\r\n        &quot;&amp;client_id=&quot; &amp; client_id &amp; _\r\n        &quot;&amp;redirect_uri=&quot; &amp; EncodeURL(redirect_uri)\r\n  Set req = CreateObject(&quot;WinHttp.WinHttpRequest.5.1&quot;)\r\n  With req\r\n    .Open &quot;POST&quot;, url_token, False\r\n    .setRequestHeader &quot;Content-Type&quot;, &quot;application\/x-www-form-urlencoded&quot;\r\n    .send dat\r\n    Select Case .Status\r\n      Case 200: js = .responseText\r\n    End Select\r\n  End With\r\n  If Len(Trim(js)) &lt; 1 Then Exit Sub\r\n  js = &quot;(&quot; &amp; js &amp; &quot;)&quot;\r\n  Set sc = CreateObject(&quot;ScriptControl&quot;)\r\n  With sc\r\n    .Language = &quot;JScript&quot;\r\n    access_token = .CodeObject.eval(js).access_token\r\n  End With\r\n  If Len(Trim(access_token)) &lt; 1 Then Exit Sub\r\n  \r\n  'OneDrive\u306e\u30d5\u30a1\u30a4\u30eb\u5217\u6319\r\n  js = &quot;&quot;: workbook_id = &quot;&quot; '\u521d\u671f\u5316\r\n  url_api = &quot;https:\/\/graph.microsoft.com\/beta\/me\/drive\/root\/children&quot;\r\n  With req\r\n    .Open &quot;GET&quot;, url_api, False\r\n    .setRequestHeader &quot;Authorization&quot;, &quot;Bearer &quot; &amp; access_token\r\n    .send\r\n    Select Case .Status\r\n      Case 200: js = .responseText\r\n      Case Else: Debug.Print .responseText\r\n    End Select\r\n  End With\r\n  If Len(Trim(js)) &lt; 1 Then Exit Sub\r\n  js = &quot;(&quot; &amp; js &amp; &quot;)&quot;\r\n  'Workbook ID\u53d6\u5f97\r\n  With sc\r\n    .Language = &quot;JScript&quot;\r\n    Set items = .CodeObject.eval(js).value\r\n    For Each item In items\r\n      If item.name = workbook_name Then\r\n        workbook_id = item.id\r\n        Exit For\r\n      End If\r\n    Next\r\n  End With\r\n  If Len(Trim(workbook_id)) &lt; 1 Then Exit Sub\r\n  \r\n  '\u6307\u5b9a\u3057\u305fWorksheet\u306e\u30bb\u30ebB3\u306e\u5024\u3092\u53d6\u5f97\r\n  js = &quot;&quot; '\u521d\u671f\u5316\r\n  url_api = &quot;https:\/\/graph.microsoft.com\/beta\/me\/drive\/items\/&quot; &amp; workbook_id &amp; _\r\n            &quot;\/Workbook\/Worksheets\/&quot; &amp; worksheet_name &amp; &quot;\/Range(address='B3')&quot;\r\n  With req\r\n    .Open &quot;GET&quot;, url_api, False\r\n    .setRequestHeader &quot;Authorization&quot;, &quot;Bearer &quot; &amp; access_token\r\n    .send\r\n    Select Case .Status\r\n      Case 200: js = .responseText\r\n      Case Else: Debug.Print .responseText\r\n    End Select\r\n  End With\r\n  If Len(Trim(js)) &lt; 1 Then Exit Sub\r\n  Debug.Print js '\u30ec\u30b9\u30dd\u30f3\u30b9(JSON)\u78ba\u8a8d\u7528\r\n  js = &quot;(&quot; &amp; js &amp; &quot;)&quot;\r\n  With sc\r\n    .Language = &quot;JScript&quot;\r\n    MsgBox &quot;Workbook:&quot; &amp; workbook_name &amp; vbNewLine &amp; _\r\n           &quot;Worksheet:&quot; &amp; worksheet_name &amp; vbNewLine &amp; _\r\n           &quot;\u30bb\u30ebB3:&quot; &amp; .CodeObject.eval(js).values, vbInformation + vbSystemModal\r\n  End With\r\n  \r\n  MsgBox &quot;\u51e6\u7406\u304c\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002&quot;, vbInformation + vbSystemModal\r\nEnd Sub\r\n\r\nPrivate Function EncodeURL(ByVal Target As String) As String\r\n'URL\u30a8\u30f3\u30b3\u30fc\u30c9\r\n  With CreateObject(&quot;ScriptControl&quot;)\r\n    .Language = &quot;JScript&quot;\r\n    EncodeURL = .CodeObject.encodeURIComponent(Target)\r\n  End With\r\nEnd Function<\/pre>\n<p>\u554f\u984c\u306a\u304fAPI\u306e\u547c\u3073\u51fa\u3057\u304c\u884c\u308f\u308c\u308b\u3068\u3001\u4e0b\u56f3\u306e\u3088\u3046\u306b\u30bb\u30eb\u306e\u5024\u304c\u30e1\u30c3\u30bb\u30fc\u30b8\u30dc\u30c3\u30af\u30b9\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_ExcelRestAPI_VBA_03.jpg\" alt=\"MicrosoftGraph_ExcelRestAPI_VBA_03\" width=\"282\" height=\"214\" class=\"alignnone size-full wp-image-6877\" \/><\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u30bb\u30eb\u3092\u53d6\u5f97(<a href=\"https:\/\/graph.microsoft.io\/ja-jp\/docs\/api-reference\/beta\/api\/range_get\" title=\"Microsoft Graph - \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 - range_get\" target=\"_blank\">Get Range<\/a>)\u3057\u305f\u969b\u306b\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">{\r\n    &quot;@odata.context&quot;: &quot;https:\/\/graph.microsoft.com\/beta\/$metadata#range&quot;,\r\n    &quot;@odata.type&quot;: &quot;#microsoft.graph.range&quot;,\r\n    &quot;@odata.id&quot;: &quot;\/users('********-****-****-****-************')\/drive\/items('**********************************')\/workbook\/worksheets('{00000000-0001-0000-0000-000000000000}')\/range(address='B3')&quot;,\r\n    &quot;address&quot;: &quot;SampleSheet!B3&quot;,\r\n    &quot;addressLocal&quot;: &quot;SampleSheet!B3&quot;,\r\n    &quot;cellCount&quot;: 1,\r\n    &quot;columnCount&quot;: 1,\r\n    &quot;columnHidden&quot;: false,\r\n    &quot;columnIndex&quot;: 1,\r\n    &quot;formulas&quot;: &#x5B;\r\n        &#x5B;&quot;Test&quot;]\r\n    ],\r\n    &quot;formulasLocal&quot;: &#x5B;\r\n        &#x5B;&quot;Test&quot;]\r\n    ],\r\n    &quot;formulasR1C1&quot;: &#x5B;\r\n        &#x5B;&quot;Test&quot;]\r\n    ],\r\n    &quot;hidden&quot;: false,\r\n    &quot;numberFormat&quot;: &#x5B;\r\n        &#x5B;&quot;General&quot;]\r\n    ],\r\n    &quot;rowCount&quot;: 1,\r\n    &quot;rowHidden&quot;: false,\r\n    &quot;rowIndex&quot;: 2,\r\n    &quot;text&quot;: &#x5B;\r\n        &#x5B;&quot;Test&quot;]\r\n    ],\r\n    &quot;values&quot;: &#x5B;\r\n        &#x5B;&quot;Test&quot;]\r\n    ],\r\n    &quot;valueTypes&quot;: &#x5B;\r\n        &#x5B;&quot;String&quot;]\r\n    ]\r\n}<\/pre>\n<p>\u79c1\u304c\u8a66\u3057\u305f\u9650\u308a\u3067\u306f\u3001\u307e\u3060\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3067\u3042\u308b\u305f\u3081\u304b\u4e0a\u624b\u304f\u7d50\u679c\u304c\u8fd4\u3063\u3066\u3053\u306a\u3044\u30e1\u30bd\u30c3\u30c9\u3082\u3042\u308a\u307e\u3057\u305f\u304c\u3001\u51fa\u756a\u304c\u591a\u305d\u3046\u306aAPI\u306a\u306e\u3067\u4eca\u5f8c\u306b\u671f\u5f85\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h4 class=\"style4a\">\u53c2\u8003Web\u30da\u30fc\u30b8<\/h4>\n<ul>\n<li>Microsoft Graph Explorer<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/graph.microsoft.io\/ja-jp\/graph-explorer\" target=\"_blank\" title=\"Microsoft Graph Explorer\">https:\/\/graph.microsoft.io\/ja-jp\/graph-explorer<\/a><\/li>\n<li>Excel REST API<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/graph.microsoft.io\/ja-jp\/docs\/api-reference\/beta\/resources\/excel\" target=\"_blank\" title=\"Excel REST API\">https:\/\/graph.microsoft.io\/ja-jp\/docs\/api-reference\/beta\/resources\/excel<\/a><\/li>\n<li>Workbook resource type<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/graph.microsoft.io\/ja-jp\/docs\/api-reference\/beta\/resources\/workbook\" target=\"_blank\" title=\"Workbook resource type\">https:\/\/graph.microsoft.io\/ja-jp\/docs\/api-reference\/beta\/resources\/workbook<\/a><\/li>\n<li>Worksheet resource type<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/graph.microsoft.io\/ja-jp\/docs\/api-reference\/beta\/resources\/worksheet\" target=\"_blank\" title=\"Worksheet resource type\">https:\/\/graph.microsoft.io\/ja-jp\/docs\/api-reference\/beta\/resources\/worksheet<\/a><\/li>\n<li>Range resource type<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/graph.microsoft.io\/ja-jp\/docs\/api-reference\/beta\/resources\/range\" target=\"_blank\" title=\"Range resource type\">https:\/\/graph.microsoft.io\/ja-jp\/docs\/api-reference\/beta\/resources\/range<\/a><\/li>\n<li>microsoft-graph-docs<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/github.com\/OfficeDev\/microsoft-graph-docs\/tree\/master\/api-reference\/beta\/api\" target=\"_blank\" title=\"microsoft-graph-docs\">https:\/\/github.com\/OfficeDev\/microsoft-graph-docs\/tree\/master\/api-reference\/beta\/api<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"\u300cMicrosoft Graph\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3057\u3066OneNote\u306e\u30da\u30fc\u30b8\u5185\u5bb9\u3092\u53d6\u5f97\u3059\u308b\u300d\u8a18\u4e8b\u3067\u89e6\u308c\u3066\u3044\u305f\u201cExcel REST API\u201d\u3067\u3059\u304c\u3001\u77e5\u3089\u306c\u9593\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f\u307f\u305f\u3044\u3067\u3059\u3002 \u305d\u308c\u306a\u3089\u3070\u3084\u308b\u3053\u3068\u306f\u4e00\u3064\u3002 [&hellip;]","protected":false},"author":1,"featured_media":7111,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"[Excel REST API\u3092VBA\u304b\u3089\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":[4,48,147,112],"tags":[],"class_list":["post-6874","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-excel-office","category-microsoft-graph","category-office365"],"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-1MS","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6874","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=6874"}],"version-history":[{"count":2,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6874\/revisions"}],"predecessor-version":[{"id":7560,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6874\/revisions\/7560"}],"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=6874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6874"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}