{"id":1037,"date":"2015-12-09T00:00:00","date_gmt":"2015-12-09T08:00:00","guid":{"rendered":"http:\/\/officedevblogs.wpengine.com\/?p=1037"},"modified":"2015-12-09T00:00:00","modified_gmt":"2015-12-09T08:00:00","slug":"introducing-office-2016-add-in-commands-preview-for-word-and-excel","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/introducing-office-2016-add-in-commands-preview-for-word-and-excel\/","title":{"rendered":"Introducing Office 2016 Add-in commands Preview for Word and Excel"},"content":{"rendered":"<div id=\"body-content\">\n<div>Today we are excited to announce the <b>preview<\/b> release of add-in commands for Word 2016, Excel 2016 and Excel Online. (Add-in commands were made available for <a href=\"http:\/\/dev.outlook.com\">Outlook<\/a> earlier this year). Add-in commands will also be available for PowerPoint next year. We would love for you to try the feature and give us your feedback! <\/p>\n<p> You can use add-in commands in your <b>Office Web Add-ins<\/b> to extend the Office UI. For example, you can add buttons for your add-ins on the ribbon or on selected contextual menus. We recommend that you <a href=\"https:\/\/channel9.msdn.com\/Events\/Visual-Studio\/Connect-event-2015\/316\">watch this Channel9 video<\/a> for a deeper overview of the feature. When added to the UI, add-in commands look and feel pretty much like native Office UI, according to the version of Office where they are running. Pretty cool, huh? This allows you to create add-ins that are easily accessible and efficient to use. <\/p>\n<p> <img decoding=\"async\" width=\"775\" height=\"277\" class=\"img-responsive\" alt=\"Add-in with commands running in Excel Desktop\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/05\/Screen1.png\"> <br> <i>Figure 1. Add-in with commands running in Excel Desktop<\/i> <\/p>\n<p> <img decoding=\"async\" width=\"626\" height=\"176\" class=\"img-responsive\" alt=\"Same add-in but loaded in Excel Online\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/05\/Screen2.png\"> <br> <i>Figure 2. Same add-in but loaded in Excel Online<\/i> <\/p>\n<p> Defining commands is easy. All you have to do is declare your commands in your add-in manifest and our platform takes care of interpreting them into native UI. You also use the manifest to declare what happens when your command is triggered. For example, you can show a task pane or execute JavaScript code that interacts with the document via Office.js. <\/p>\n<p> To get started with the preview, see our <a href=\"https:\/\/github.com\/OfficeDev\/Office-Add-in-Commands-Samples\/\">samples site on GitHub<\/a>, which has quick instructions to get you going. We also have <a href=\"http:\/\/aka.ms\/addincommandspreview\">documentation<\/a> on MSDN that explains the preview in detail as well as a complete reference for the <a href=\"http:\/\/aka.ms\/addincommandsmanifest\">add-in manifest with commands<\/a>. <\/p>\n<p> What are you waiting for? Head to the <a href=\"https:\/\/github.com\/OfficeDev\/Office-Add-in-Commands-Samples\/issues\">samples site<\/a> and try this feature. If you have any feedback or comments, please <a href=\"https:\/\/github.com\/OfficeDev\/Office-Add-in-Commands-Samples\/issues\">log them as issues<\/a> on the GitHub samples site. <\/p>\n<p> ~ The Office Extensibility Team <\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today we are excited to announce the preview release of add-in commands for Word 2016, Excel 2016 and Excel Online. (Add-in commands were made available for Outlook earlier this year). Add-in<\/p>\n","protected":false},"author":69076,"featured_media":1038,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11],"tags":[18],"class_list":["post-1037","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office-add-ins","tag-excel"],"acf":[],"blog_post_summary":"<p>Today we are excited to announce the preview release of add-in commands for Word 2016, Excel 2016 and Excel Online. (Add-in commands were made available for Outlook earlier this year). Add-in<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/1037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69076"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=1037"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/1037\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/1038"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=1037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=1037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=1037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}