Compartilhar via


Office development samples and walkthroughs

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This section contains sample applications, example code, and step-by-step walkthroughs that illustrate the syntax, structure, and techniques used to build Microsoft Office solutions.

The sample code is intended for instructional purposes, and should not be used in deployed solutions without modifications. In particular, security must be taken into greater consideration.

For information about securing applications, see Secure Office solutions.

Note

Interested in developing solutions that extend the Office experience across multiple platforms? Check out the new Office Add-ins model. Office Add-ins have a small footprint compared to VSTO Add-ins and solutions, and you can build them by using almost any web programming technology, such as HTML5, JavaScript, CSS3, and XML.

In this section

Topic Description
Office development samples Provides links to sample applications that illustrate the use of Office and SharePoint development in Visual Studio.
Walkthroughs using Word Lists step-by-step guides that provide an introduction to Office development tools in Visual Studio and help to illustrate how you can integrate Word into Office Business Applications.
Walkthroughs using Excel Lists step-by-step guides that provide an introduction to Office development tools in Visual Studio and help to illustrate how you can integrate Excel into Office Business Applications.
Data in Office solutions walkthroughs Lists step-by-step guides that illustrate how to work with data in your solutions.
Office UI customization walkthroughs Lists step-by-step guides that illustrate how you can customize the user interface (UI) of Microsoft Office applications.
Security and deployment walkthroughs Lists step-by-step guides that illustrate how you can set security policy to allow your solution to run, and how you can deploy your solution.
Topic Description
Get started (Office development in Visual Studio) Provides links to information about setup, project templates, Office primary interop assemblies, and what's new in Office development.
Architecture of Office solutions in Visual Studio Explains how managed code Office solutions work from the perspective of the developer and the end user, and includes information about how managed code works with Office documents and applications.
Common tasks in Office programming Lists frequently asked questions about programming with Office development in Visual Studio, and provides links to topics that can help solve common problems.
Design and create Office solutions Provides links to information about how to create Microsoft Office solutions and about the role of assemblies in your solution.
Actions pane overview Provides an overview of the document-level task pane called the actions pane.