Skip to content

modulexcite/Office-Add-in-Commands-Samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Office Add-in Commands Samples

##Overview Add-in commands enable developers to extend the Office user interface such as the Office Ribbon to create awesome, efficient to use add-ins. Watch this channel9 video for a complete overview. The examples in this repo show you how to use add-in commands in Excel and Word add-ins.

Important: Add-in commands are currently in developer preview for Excel and Word with PowerPoint coming next year. If you are looking for information about the already released Add-in commands for Outlook head to http://dev.outlook.com

Here is how the samples look when running:

###Excel

###Word Existing Tab

Custom Tab (Simple Example)

Quick Start

Step 1. Setup your environment

  • Office Desktop: Ensure that you have the latest version of Office installed. Add-in commands require build 16.0.6326.0000 or higher. Learn how to Install the latest version of Office applications.
    • Important: Once you have the latest build installed make sure to download, unzip and run this Registry key on your machine to activate the feature.
  • Office Online (Excel online coming soon, should be available by December 11th): There is no additional setup.

Step 2. Create your manifest

We strongly recommend you to use one of our sample manifests as a starting point, the Simple example is a good one to get going. Once you make it work then you can start making small modifications and test your changes often. If you make modifications, use the Manifest reference as a guide.

Step 3. Deploy add-in manifest and test the add-in

During the developer preview the only alternative to test your add-in is to sideload it. Deploying directly from VS (F5) is NOT supported yet, you must sideload your manifest using one of the methods below.

  • Office Desktop. Sideload you add-in via a network share.
    • Once side loaded you have to go to Insert>My Add-ins and click the Refresh button to ensure the Add-in shows. Do this any time you need to refresh your Ribbon.
  • Office Online clients (Excel online only at the moment). Simply go to Insert Tab>Office Add-ins>Upload Add-in. The add-in will be displayed for that session only.

Documentation

About

Sample that illustrates how to add custom commands to the Office Ribbon and Context Menus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.7%
  • TypeScript 32.0%
  • C# 4.3%
  • CSS 2.9%
  • Classic ASP 2.7%
  • HTML 1.7%
  • PowerShell 0.7%