Office Add-ins code samples
Find Office Add-ins code samples.
Last modified: August 25, 2015
Applies to: Access apps for SharePoint | apps for Office | Excel | Office Add-ins | Outlook | PowerPoint | Project | Word
Learn more about supported hosts and other requirements.
The name "apps for Office" is changing to "Office Add-ins". During the transition, the documentation and the UI of some Office host applications and Visual Studio tools might still use the term "apps for Office". For details, see New name for apps for Office and SharePoint.
Great code samples are key to getting up and running quickly. To find samples, take a look at the Office Add-ins and SharePoint Samples page in the MSDN Code Gallery. You can download all the samples at once as a sample pack, or browse and download individual samples.
You can find more samples on dev.office.com.
The following are some samples that are available to help you develop task pane and content add-ins:
The following are some samples that are available to help you develop mail add-ins:
If you don't see a sample that you are looking for, take advantage of our community feature to request a code sample.
If you use the Napa Office 365 Development Tools to create Office Add-ins, you can share the code and pages in your Napa project with someone else by using the Share Project feature. To share an add-in project, load the project in Napa and then choose the Share Project button on the side of the page. The Share Project feature creates a copy of the add-in project and provides you with a public link. Others can use the public link to view a copy of the add-in project.