Samples and Walkthroughs (Office Development)

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 the following help topics:

In This Section

  • Document-Level Samples
    Provides links to sample applications that illustrate the use of document-level customizations with Word and Excel.

  • Application-Level Samples
    Provides links to sample applications that illustrate the use of application-level add-ins.

  • Ribbon Controls Sample
    Demonstrates how to create a custom Ribbon tab that shows and hides actions panes in a Microsoft Office Excel worksheet.

  • SharePoint Sequential Workflow Sample
    Demonstrates how to create a basic sequential workflow template that associates a task in the SharePoint Tasks list with a document in a document library.

  • Walkthroughs Using Word
    Lists step-by-step guides that provide an introduction to Visual Studio Tools for Office 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 Visual Studio Tools for Office and help to illustrate how you can integrate Excel into Office Business Applications.

  • Data Walkthroughs (Visual Studio Tools for Office)
    Lists step-by-step guides that illustrate how to work with data in your solutions.

  • 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.