{"id":6436,"date":"2015-12-09T00:00:23","date_gmt":"2015-12-08T15:00:23","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=6436"},"modified":"2015-12-09T00:04:03","modified_gmt":"2015-12-08T15:04:03","slug":"office%e3%82%a2%e3%83%89%e3%82%a4%e3%83%b3%e3%82%a2%e3%83%89%e3%82%a4%e3%83%b3-%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89add-in-commands%e3%81%ae%e7%b4%b9%e4%bb%8b","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=6436","title":{"rendered":"[Office\u30a2\u30c9\u30a4\u30f3]\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9(Add-In Commands)\u306e\u7d39\u4ecb"},"content":{"rendered":"<p><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\">\u524d\u56de\u306e\u8a18\u4e8b<\/a>\u306f<span style=\"color: #ff0000; font-weight: bold;\">\u201cOffice \u30a2\u30c9\u30a4\u30f3\u201d<\/span>\u306e<a href=\"http:\/\/www.adventar.org\/calendars\/792\" title=\"Office \u30a2\u30c9\u30a4\u30f3 Advent Calendar 2015 - Adventar\" target=\"_blank\">Advent calendar<\/a>\u306b\u4e71\u5165\u3057\u305f\u306b\u3082\u95a2\u308f\u3089\u305a\u3001VBA\u306e\u30b3\u30fc\u30c9\u3092\u8f09\u305b\u308b\u3068\u3044\u3046\u66b4\u6319\u306b\u51fa\u3066\u3044\u305f\u306e\u3067\u3001\u4eca\u56de\u306f\u771f\u3063\u5f53\u306b\u300c<span style=\"color: #ff0000; font-weight: bold;\">Office \u30a2\u30c9\u30a4\u30f3<\/span>\u300d\u306b\u3064\u3044\u3066\u8a18\u4e8b\u3092\u66f8\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<hr \/>\n<p>Office \u30a2\u30c9\u30a4\u30f3(\u65e7Office \u7528\u30a2\u30d7\u30ea)\u3068\u3044\u3048\u3070\u3001\u3053\u308c\u307e\u3067\u300c\u633f\u5165\u300d\u30bf\u30d6\u304b\u3089\u30a2\u30c9\u30a4\u30f3\u3092\u7d44\u307f\u8fbc\u307f\u3001\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u3084\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u672c\u6587\u5185\u306b\u8cbc\u308a\u3064\u3044\u305f\u30a2\u30c9\u30a4\u30f3\u30b3\u30f3\u30c6\u30f3\u30c4\u304b\u3089\u6a5f\u80fd\u3092\u5b9f\u884c\u3059\u308b\u3001\u3068\u3044\u3063\u305f\u6d41\u308c\u3067\u3057\u305f\u304c\u3001Office 2016\u3067\u3064\u3044\u306b\u30ea\u30dc\u30f3UI(\u65e2\u5b58\u30bf\u30d6\u3084\u30ab\u30b9\u30bf\u30e0\u30bf\u30d6)\u304b\u3089\u6a5f\u80fd\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f(<span style=\"color: #ff0000; font-weight: bold;\">\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9(Add-In Commands)<\/span>)\u3002<br \/>\n(\u3068\u3044\u3063\u3066\u3082 2015\/12\/8 \u6642\u70b9\u3067\u306f\u3001\u5148\u884c\u30ea\u30ea\u30fc\u30b9\u306e <span style=\"color: #ff0000; font-weight: bold;\">16.6366.0000<\/span> \u4ee5\u4e0a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5fc5\u8981\u3067\u3059\u3002)<\/p>\n<p>\u3053\u306e\u65b0\u3057\u3044\u6a5f\u80fd\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/channel9.msdn.com\/Events\/Visual-Studio\/Connect-event-2015\/316\" title=\"Add-in Commands in Office Ribbon (Public preview) | Connect(); \/\/ 2015 | Channel 9\" target=\"_blank\">Connect(); \/\/ 2015<\/a>\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u52d5\u753b\u3092\u898b\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u6982\u8981\u304c\u63b4\u3081\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/channel9.msdn.com\/Events\/Visual-Studio\/Connect-event-2015\/316\/player?format=html5#ccLang=ja\" width=\"512\" height=\"288\" allowFullScreen frameBorder=\"0\"><\/iframe><\/p>\n<p>Office Online\u3084\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u7248\u306eOffice\u3067\u3001\u30ab\u30b9\u30bf\u30e0\u30bf\u30d6\u304b\u3089Office \u30a2\u30c9\u30a4\u30f3\u306e\u6a5f\u80fd\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u306e\u304c\u5206\u304b\u308a\u307e\u3059\u306d\uff01<\/p>\n<p>\u5b9f\u306f\u3053\u306e\u6a5f\u80fd\u3001Outlook\u3067\u306f\u3059\u3067\u306b\u5b9f\u88c5\u3055\u308c\u3066\u3044\u3066\u3001<a href=\"http:\/\/www.itmedia.co.jp\/author\/197153\/\" title=\"\u56fd\u5206\u3059\u3070\u308b - ITmedia \u8457\u8005\u5225\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\" target=\"_blank\">\u56fd\u5206\u3059\u3070\u308b<\/a>\u6c0f\u306e\u30d6\u30ed\u30b0\u306b\u8a73\u7d30\u306a\u8a18\u4e8b\u304c\u8f09\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>Mail Add-ins \u306e add-in command (\u30ab\u30b9\u30bf\u30e0 Ribbon \u30dc\u30bf\u30f3)<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/netweblog.wordpress.com\/2015\/08\/26\/ribbon-addin-command-of-office-addins\/\" target=\"_blank\" title=\"Mail Add-ins \u306e add-in command (\u30ab\u30b9\u30bf\u30e0 Ribbon \u30dc\u30bf\u30f3)\">https:\/\/netweblog.wordpress.com\/2015\/08\/26\/ribbon-addin-command-of-office-addins\/<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/github.com\/OfficeDev\/Office-Add-in-Commands-Samples\" title=\"Office Add-in Commands Samples\" target=\"_blank\">GitHub\u306eOverview<\/a>\u306b\u3088\u308b\u3068\u3001Word\u3084Excel\u3060\u3051\u3067\u306a\u304f<span style=\"color: #ff0000; font-weight: bold;\">PowerPoint<\/span>\u3067\u3082\u8fd1\u3044\u3046\u3061\u306b\u5b9f\u88c5\u3055\u308c\u308b\u3088\u3046\u3067\u3059\u3002<br \/>\n\u6b63\u5f0f\u30ea\u30ea\u30fc\u30b9\u304c\u4eca\u304b\u3089\u5f85\u3061\u9060\u3057\u3044\u3067\u3059\u306d\uff01\uff01<\/p>\n<p>\u3055\u3066\u3001\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9(\u3053\u3046\u66f8\u3044\u3066\u306f\u3044\u307e\u3059\u304c\u65e5\u672c\u8a9e\u306e\u6b63\u5f0f\u540d\u79f0\u306f\u672a\u3060\u5206\u304b\u308a\u307e\u305b\u3093)\u3092\u7c21\u5358\u306b\u7d39\u4ecb\u3057\u305f\u3068\u3053\u308d\u3067\u3001\u5b9f\u969b\u306b\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h4 class=\"style4a\">\u4e0b\u6e96\u5099<\/h4>\n<ol>\n<li>\u4e0a\u3067\u3082\u66f8\u3044\u305f\u901a\u308a\u3001\u73fe\u6642\u70b9\u3067\u306f\u307e\u3060\u5148\u884c\u30ea\u30ea\u30fc\u30b9\u3067\u306a\u3044\u3068\u6a5f\u80fd\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u305f\u3081\u3001<a href=\"https:\/\/github.com\/OfficeDev\/Office-Add-in-Commands-Samples\/blob\/master\/Tools\/LatestOfficeBuild.md\" title=\"Install the latest version of Office 2016 applications\" target=\"_blank\">Install the latest version of Office 2016 applications<\/a>\u3092\u53c2\u8003\u306b\u3001\u6700\u65b0\u7248\u306eOffice 2016\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_01.jpg\" alt=\"Office_Add-In_Commands_01_01\" width=\"436\" height=\"398\" class=\"alignnone size-full wp-image-6437\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_01.jpg 436w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_01-300x274.jpg 300w\" sizes=\"auto, (max-width: 436px) 100vw, 436px\" \/><\/a><\/p>\n<li>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4f5c\u696d\u304c\u7d42\u4e86\u3057\u305f\u3089\u3001<a href=\"https:\/\/github.com\/OfficeDev\/Office-Add-in-Commands-Samples\/raw\/master\/Tools\/AddInCommandsUndark\/EnableAppCmdXLWD.zip\" title=\"EnableAppCmdXLWD.zip\" target=\"_blank\">GitHub<\/a>\u304b\u3089\u300c<span style=\"color: #ff0000; font-weight: bold;\">EnableAppCmdXLWD.zip<\/span>\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n<li>\u300cEnableAppCmdXLWD.zip\u300d\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u306b\u3042\u308b\u300c<span style=\"color: #ff0000; font-weight: bold;\">EnableAppCmdXLWD.reg<\/span>\u300d\u3092\u5b9f\u884c\u3057\u3066\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u30ad\u30fc\u767b\u9332\u3092\u3057\u307e\u3059\u3002<\/li>\n<li>\u30a2\u30c9\u30a4\u30f3\u306e\u30c6\u30b9\u30c8\u306b\u306f<span style=\"color: #ff0000; font-weight: bold;\">\u201c\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u201d<\/span>\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=6237\" title=\"OfficeJS Snippet Explorer\u3092\u4f7f\u3063\u3066\u65b0\u3057\u3044Office \u30a2\u30c9\u30a4\u30f3\u3092\u4f53\u9a13\u3059\u308b\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">OfficeJS Snippet Explorer\u3092\u4f7f\u3063\u3066\u65b0\u3057\u3044Office \u30a2\u30c9\u30a4\u30f3\u3092\u4f53\u9a13\u3059\u308b<\/a>\u300d\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3001\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u3068Office\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/li>\n<\/ol>\n<h4 class=\"style4a\">Office \u30a2\u30c9\u30a4\u30f3\u306e\u30b3\u30fc\u30c9<\/h4>\n<p>\u6e96\u5099\u4f5c\u696d\u304c\u7d42\u4e86\u3057\u305f\u3089\u4e0b\u8a18\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3068\u30a2\u30c9\u30a4\u30f3\u672c\u4f53\u3068\u306a\u308bWeb\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u3001\u9069\u5f53\u306a\u5834\u6240\u306b\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u30fb\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb<\/strong><\/p>\n<p><span style=\"color: #ff0000; font-weight: bold;\">\u203b Id\u8981\u7d20\u306e\u5024\u306f\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=5758\" title=\"GUID\u3092\u4f5c\u6210\u3059\u308bVBScript | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">GUID\u3092\u4f5c\u6210\u3059\u308bVBScript<\/a>\u300d\u306a\u3069\u3067\u4f5c\u6210\u3057\u305f\u5024\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;\r\n&lt;OfficeApp xmlns=&quot;http:\/\/schemas.microsoft.com\/office\/appforoffice\/1.1&quot;\r\n  xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot;\r\n  xmlns:bt=&quot;http:\/\/schemas.microsoft.com\/office\/officeappbasictypes\/1.0&quot;\r\n  xmlns:ov=&quot;http:\/\/schemas.microsoft.com\/office\/taskpaneappversionoverrides&quot;\r\n  xsi:type=&quot;TaskPaneApp&quot;&gt;\r\n  &lt;Id&gt;93848143-6ae0-4b56-b7c6-dbb5344c7933&lt;\/Id&gt;\r\n  &lt;Version&gt;1.0.0.0&lt;\/Version&gt;\r\n  &lt;ProviderName&gt;kinuasa&lt;\/ProviderName&gt;\r\n  &lt;DefaultLocale&gt;ja-JP&lt;\/DefaultLocale&gt;\r\n  &lt;DisplayName DefaultValue=&quot;Sample Command App&quot; \/&gt;\r\n  &lt;Description DefaultValue=&quot;Sample Command App Description&quot; \/&gt;\r\n  &lt;Hosts&gt;\r\n    &lt;Host Name=&quot;Document&quot; \/&gt;\r\n  &lt;\/Hosts&gt;\r\n  &lt;DefaultSettings&gt;\r\n    &lt;SourceLocation DefaultValue=&quot;https:\/\/localhost\/command\/index.html&quot; \/&gt;\r\n  &lt;\/DefaultSettings&gt;\r\n  &lt;Permissions&gt;ReadWriteDocument&lt;\/Permissions&gt;\r\n  &lt;VersionOverrides xmlns=&quot;http:\/\/schemas.microsoft.com\/office\/taskpaneappversionoverrides&quot; xsi:type=&quot;VersionOverridesV1_0&quot;&gt;\r\n    &lt;Hosts&gt;\r\n      &lt;Host xsi:type=&quot;Document&quot;&gt;\r\n        &lt;DesktopFormFactor&gt;\r\n          &lt;FunctionFile resid=&quot;residDesktopFuncUrl&quot; \/&gt;\r\n          &lt;ExtensionPoint xsi:type=&quot;PrimaryCommandSurface&quot;&gt;\r\n            &lt;OfficeTab id=&quot;TabHome&quot;&gt;\r\n              &lt;Group id=&quot;grpSample&quot;&gt;\r\n                &lt;Label resid=&quot;residGrpSampleLabel&quot; \/&gt;\r\n                &lt;Icon&gt;\r\n                  &lt;bt:Image size=&quot;16&quot; resid=&quot;residIcon1_16&quot; \/&gt;\r\n                  &lt;bt:Image size=&quot;32&quot; resid=&quot;residIcon1_32&quot; \/&gt;\r\n                  &lt;bt:Image size=&quot;80&quot; resid=&quot;residIcon1_80&quot; \/&gt;\r\n                &lt;\/Icon&gt;\r\n                &lt;Control xsi:type=&quot;Button&quot; id=&quot;btnSample&quot;&gt;\r\n                  &lt;Label resid=&quot;residBtnSampleLabel&quot; \/&gt;\r\n                  &lt;Supertip&gt;\r\n                    &lt;Title resid=&quot;residBtnSampleTitle&quot; \/&gt;\r\n                    &lt;Description resid=&quot;residBtnSampleDesc&quot; \/&gt;\r\n                  &lt;\/Supertip&gt;\r\n                  &lt;Icon&gt;\r\n                    &lt;bt:Image size=&quot;16&quot; resid=&quot;residIcon2_16&quot; \/&gt;\r\n                    &lt;bt:Image size=&quot;32&quot; resid=&quot;residIcon2_32&quot; \/&gt;\r\n                    &lt;bt:Image size=&quot;80&quot; resid=&quot;residIcon2_80&quot; \/&gt;\r\n                  &lt;\/Icon&gt;\r\n                  &lt;Action xsi:type=&quot;ShowTaskpane&quot;&gt;\r\n                    &lt;SourceLocation resid=&quot;residTaskpaneUrl&quot; \/&gt;\r\n                  &lt;\/Action&gt;\r\n                &lt;\/Control&gt;\r\n                &lt;Control xsi:type=&quot;Button&quot; id=&quot;btnSample2&quot;&gt;\r\n                  &lt;Label resid=&quot;residBtnSampleLabel2&quot; \/&gt;\r\n                  &lt;Supertip&gt;\r\n                    &lt;Title resid=&quot;residBtnSampleTitle2&quot; \/&gt;\r\n                    &lt;Description resid=&quot;residBtnSampleDesc2&quot; \/&gt;\r\n                  &lt;\/Supertip&gt;\r\n                  &lt;Icon&gt;\r\n                    &lt;bt:Image size=&quot;16&quot; resid=&quot;residIcon2_16&quot; \/&gt;\r\n                    &lt;bt:Image size=&quot;32&quot; resid=&quot;residIcon2_32&quot; \/&gt;\r\n                    &lt;bt:Image size=&quot;80&quot; resid=&quot;residIcon2_80&quot; \/&gt;\r\n                  &lt;\/Icon&gt;\r\n                  &lt;Action xsi:type=&quot;ExecuteFunction&quot;&gt;\r\n                    &lt;FunctionName&gt;btnSample2_onAction&lt;\/FunctionName&gt;\r\n                  &lt;\/Action&gt;\r\n                &lt;\/Control&gt;\r\n              &lt;\/Group&gt;\r\n              &lt;Label resid=&quot;residGrpSampleLabel&quot; \/&gt;\r\n            &lt;\/OfficeTab&gt;\r\n          &lt;\/ExtensionPoint&gt;\r\n        &lt;\/DesktopFormFactor&gt;\r\n      &lt;\/Host&gt;\r\n    &lt;\/Hosts&gt;\r\n    &lt;Resources&gt;\r\n      &lt;bt:Images&gt;\r\n        &lt;bt:Image id=&quot;residIcon1_16&quot; DefaultValue=&quot;https:\/\/localhost\/command\/img\/ico1_16.png&quot; \/&gt;\r\n        &lt;bt:Image id=&quot;residIcon1_32&quot; DefaultValue=&quot;https:\/\/localhost\/command\/img\/ico1_32.png&quot; \/&gt;\r\n        &lt;bt:Image id=&quot;residIcon1_80&quot; DefaultValue=&quot;https:\/\/localhost\/command\/img\/ico1_80.png&quot; \/&gt;\r\n        &lt;bt:Image id=&quot;residIcon2_16&quot; DefaultValue=&quot;https:\/\/localhost\/command\/img\/ico2_16.png&quot; \/&gt;\r\n        &lt;bt:Image id=&quot;residIcon2_32&quot; DefaultValue=&quot;https:\/\/localhost\/command\/img\/ico2_32.png&quot; \/&gt;\r\n        &lt;bt:Image id=&quot;residIcon2_80&quot; DefaultValue=&quot;https:\/\/localhost\/command\/img\/ico2_80.png&quot; \/&gt;\r\n      &lt;\/bt:Images&gt;\r\n      &lt;bt:Urls&gt;\r\n        &lt;bt:Url id=&quot;residDesktopFuncUrl&quot; DefaultValue=&quot;https:\/\/localhost\/command\/func.html&quot; \/&gt;\r\n        &lt;bt:Url id=&quot;residTaskpaneUrl&quot; DefaultValue=&quot;https:\/\/localhost\/command\/index.html&quot; \/&gt;\r\n      &lt;\/bt:Urls&gt;\r\n      &lt;bt:ShortStrings&gt;\r\n        &lt;bt:String id=&quot;residGrpSampleLabel&quot; DefaultValue=&quot;Sample Group&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residBtnSampleLabel&quot; DefaultValue=&quot;Sample Button&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residBtnSampleLabel2&quot; DefaultValue=&quot;Sample Button 2&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residBtnSampleTitle&quot; DefaultValue=&quot;Sample Button SuperTip Title&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residBtnSampleTitle2&quot; DefaultValue=&quot;Sample Button 2 SuperTip Title&quot; \/&gt;\r\n      &lt;\/bt:ShortStrings&gt;\r\n      &lt;bt:LongStrings&gt;\r\n        &lt;bt:String id=&quot;residBtnSampleDesc&quot; DefaultValue=&quot;Sample Button SuperTip Description&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residBtnSampleDesc2&quot; DefaultValue=&quot;Sample Button 2 SuperTip Description&quot; \/&gt;\r\n      &lt;\/bt:LongStrings&gt;\r\n    &lt;\/Resources&gt;\r\n  &lt;\/VersionOverrides&gt;\r\n&lt;\/OfficeApp&gt;<\/pre>\n<p><strong>\u30fbindex.html<\/strong><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n  &lt;meta charset=&quot;UTF-8&quot; \/&gt;\r\n  &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=Edge&quot; \/&gt;\r\n  &lt;title&gt;Sample&lt;\/title&gt;\r\n  &lt;script src=&quot;https:\/\/ajax.aspnetcdn.com\/ajax\/jQuery\/jquery-1.9.1.min.js&quot;&gt;&lt;\/script&gt;\r\n  &lt;script src=&quot;https:\/\/appsforoffice.microsoft.com\/lib\/1\/hosted\/office.js&quot;&gt;&lt;\/script&gt;\r\n  &lt;script&gt;\r\n    Office.initialize = function(reason){}\r\n    $(function(){\r\n      $(&quot;#btnTest&quot;).click(function(){\r\n        Word.run(function(context){\r\n          context.document.body.insertHtml(&quot;&lt;h1&gt;Hello world.&lt;\/h1&gt;&quot;, Word.InsertLocation.start);\r\n        });\r\n      });\r\n    });\r\n  &lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n  &lt;h4&gt;Sample Page&lt;\/h4&gt;\r\n  &lt;input id=&quot;btnTest&quot; type=&quot;button&quot; value=&quot;Test&quot;&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p><strong>\u30fbfunc.html<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n  &lt;meta charset=&quot;UTF-8&quot; \/&gt;\r\n  &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=Edge&quot; \/&gt;\r\n  &lt;title&gt;Functions&lt;\/title&gt;\r\n  &lt;script src=&quot;https:\/\/appsforoffice.microsoft.com\/lib\/1\/hosted\/office.js&quot;&gt;&lt;\/script&gt;\r\n  &lt;script&gt;\r\n    Office.initialize = function(reason){}\r\n    function btnSample2_onAction(event){\r\n      var buttonId = event.source.id;\r\n      Word.run(function(context){\r\n        context.document.body.insertText(buttonId, Word.InsertLocation.start);\r\n      });\r\n      event.completed();\r\n    }\r\n  &lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;\/html&gt;<\/pre>\n<h4 class=\"style4a\">\u30a2\u30c9\u30a4\u30f3\u306e\u5b9f\u884c<\/h4>\n<ol>\n<li>\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3068\u30a2\u30c9\u30a4\u30f3\u672c\u4f53\u306e\u8a2d\u5b9a\u7d42\u4e86\u5f8c\u3001Word\u3092\u8d77\u52d5\u3059\u308b\u3068\u3001\u300c\u633f\u5165\u300d\u30bf\u30d6\u306e\u300c\u30de\u30a4 \u30a2\u30c9\u30a4\u30f3\u300d\u304b\u3089\u4f5c\u6210\u3057\u305f\u30a2\u30c9\u30a4\u30f3\u3092\u633f\u5165\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_02.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_02.jpg\" alt=\"Office_Add-In_Commands_01_02\" width=\"718\" height=\"587\" class=\"alignnone size-full wp-image-6438\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_02.jpg 718w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_02-300x245.jpg 300w\" sizes=\"auto, (max-width: 718px) 100vw, 718px\" \/><\/a><\/p>\n<li>\u300c\u30db\u30fc\u30e0\u300d\u30bf\u30d6\u3092\u958b\u304f\u3068\u3001\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3067\u5b9a\u7fa9\u3057\u305f\u30b0\u30eb\u30fc\u30d7(Sample Group)\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_03.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_03.jpg\" alt=\"Office_Add-In_Commands_01_03\" width=\"604\" height=\"253\" class=\"alignnone size-full wp-image-6439\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_03.jpg 604w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_03-300x126.jpg 300w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/a><\/p>\n<li>\u300cSample Button\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001ShowTaskpane Action\u304c\u5b9f\u884c\u3055\u308c\u3001SourceLocation\u8981\u7d20\u306eresid\u5c5e\u6027\u3067\u6307\u5b9a\u3057\u305fWeb\u30da\u30fc\u30b8\u304c\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_04.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_04.jpg\" alt=\"Office_Add-In_Commands_01_04\" width=\"591\" height=\"601\" class=\"alignnone size-full wp-image-6440\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_04.jpg 591w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_04-295x300.jpg 295w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_04-64x64.jpg 64w\" sizes=\"auto, (max-width: 591px) 100vw, 591px\" \/><\/a><\/p>\n<li>\u300cSample Button2\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001ExecuteFunction Action\u304c\u5b9f\u884c\u3055\u308c\u3001FunctionName\u8981\u7d20\u3067\u6307\u5b9a\u3057\u305f\u95a2\u6570\u300cbtnSample2_onAction\u300d\u304c\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_05.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_05.jpg\" alt=\"Office_Add-In_Commands_01_05\" width=\"644\" height=\"369\" class=\"alignnone size-full wp-image-6441\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_05.jpg 644w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_05-300x172.jpg 300w\" sizes=\"auto, (max-width: 644px) 100vw, 644px\" \/><\/a>\n<\/ol>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_06.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_01_06.gif\" alt=\"Office_Add-In_Commands_01_06\" width=\"703\" height=\"509\" class=\"alignnone size-full wp-image-6442\" \/><\/a><\/p>\n<p>\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5404\u8981\u7d20\u306b\u3064\u3044\u3066\u306f\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u305b\u3093\u304c\u3001\u30b6\u30c3\u30af\u30ea\u3044\u3046\u3068\u3001<span style=\"color: #ff0000; font-weight: bold;\">VersionOverrides<\/span>\u8981\u7d20\u4ee5\u4e0b\u3067\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9\u3092\u5b9a\u7fa9<br \/>\n\u2193<br \/>\n<span style=\"color: #ff0000; font-weight: bold;\">ExtensionPoint<\/span>\u8981\u7d20\u4ee5\u4e0b\u3067\u30bf\u30d6\u3084\u30b0\u30eb\u30fc\u30d7\u8a2d\u5b9a<br \/>\n\u2193<br \/>\n\u30e9\u30d9\u30eb\u3084\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\u7b49\u306f<span style=\"color: #ff0000; font-weight: bold;\">Resources<\/span>\u8981\u7d20\u3067\u5b9a\u7fa9(id\u5c5e\u6027\u306e\u5024\u306e\u6587\u5b57\u6570\u5236\u9650(32\u6587\u5b57)\u306b\u6ce8\u610f)<\/p>\n<p>\u3068\u3044\u3063\u305f\u611f\u3058\u3067\u3059\u306d\u3002<br \/>\n\u901a\u5e38\u306e\u30ea\u30dc\u30f3\u30fb\u30ab\u30b9\u30bf\u30de\u30a4\u30ba(customUI)\u306b\u6bd4\u3079\u308b\u3068\u7169\u96d1\u3067\u5b9f\u306b\u9762\u5012\u304f\u3055\u3044\u3067\u3059\u3002<br \/>\n\u8a73\u3057\u3044\u8aac\u660e\u306b\u95a2\u3057\u3066\u306f\u4e0b\u8a18\u30b5\u30a4\u30c8\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u3061\u3089\u3092\u662f\u975e\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4 class=\"style4a\">\u53c2\u8003Web\u30da\u30fc\u30b8<\/h4>\n<ul>\n<li>Office Add-in Commands Samples<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/github.com\/OfficeDev\/Office-Add-in-Commands-Samples\" target=\"_blank\" title=\"Office Add-in Commands Samples\">https:\/\/github.com\/OfficeDev\/Office-Add-in-Commands-Samples<\/a><\/li>\n<li>Outlook-Add-in-Commands-Translator<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/github.com\/OfficeDev\/Outlook-Add-in-Commands-Translator\" target=\"_blank\" title=\"Outlook-Add-in-Commands-Translator\">https:\/\/github.com\/OfficeDev\/Outlook-Add-in-Commands-Translator<\/a><\/li>\n<li>Add-in Command Demo Outlook Add-in<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/github.com\/jasonjoh\/command-demo\" target=\"_blank\" title=\"Add-in Command Demo Outlook Add-in\">https:\/\/github.com\/jasonjoh\/command-demo<\/a><\/li>\n<li>Create add-in commands in your manifest for Excel 2016 and Word 2016 (Preview)<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/mt621545.aspx\" target=\"_blank\" title=\"Create add-in commands in your manifest for Excel 2016 and Word 2016 (Preview)\">https:\/\/msdn.microsoft.com\/ja-jp\/library\/mt621545.aspx<\/a><\/li>\n<li>\u30a2\u30c9\u30a4\u30f3\u3067\u5fc5\u8981\u306a Office \u30db\u30b9\u30c8\u3068 API \u3092\u6307\u5b9a\u3059\u308b<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/dn535871.aspx\" target=\"_blank\" title=\"\u30a2\u30c9\u30a4\u30f3\u3067\u5fc5\u8981\u306a Office \u30db\u30b9\u30c8\u3068 API \u3092\u6307\u5b9a\u3059\u308b\">https:\/\/msdn.microsoft.com\/ja-jp\/library\/dn535871.aspx<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"\u524d\u56de\u306e\u8a18\u4e8b\u306f\u201cOffice \u30a2\u30c9\u30a4\u30f3\u201d\u306eAdvent calendar\u306b\u4e71\u5165\u3057\u305f\u306b\u3082\u95a2\u308f\u3089\u305a\u3001VBA\u306e\u30b3\u30fc\u30c9\u3092\u8f09\u305b\u308b\u3068\u3044\u3046\u66b4\u6319\u306b\u51fa\u3066\u3044\u305f\u306e\u3067\u3001\u4eca\u56de\u306f\u771f\u3063\u5f53\u306b\u300cOffice \u30a2\u30c9\u30a4\u30f3\u300d\u306b\u3064\u3044\u3066\u8a18\u4e8b\u3092\u66f8\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002 Of [&hellip;]","protected":false},"author":1,"featured_media":7119,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"[[Office\u30a2\u30c9\u30a4\u30f3]\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9(Add-In Commands)\u306e\u7d39\u4ecb]","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":[130,4,128],"tags":[],"class_list":["post-6436","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apps-for-office","category-office","category-office2016"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeAddins.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-1FO","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6436","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=6436"}],"version-history":[{"count":3,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6436\/revisions"}],"predecessor-version":[{"id":6445,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6436\/revisions\/6445"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7119"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}