Search Wiki:
Resource Page Description
Visual Studio 2010 Release Candidate samples demonstrate Office 2010 development projects, tools, and techniques by using the .NET Framework 3.5 and the .NET Framework 4. Samples include Excel, Word and Outlook solutions. Each sample is available in both Visual Basic and C#.


For more information on Office Development with Visual Studio please visit:
VSTO Developer Center (
VSTO 2010 Resources
VSTO Team Blog
VSTO Forums

Office 2010 Samples

Click Downloads for the full listing of samples. These descriptions show a preview of some of the samples.

Excel Master Detail Data Sample
Demonstrates how to retrieve data from a relational database or XML file and use that data in Excel.

Excel Document Protection Techniques Sample
Demonstrates various techniques you can use to protect structural components of a worksheet to help to prevent users from accidentally deleting controls or otherwise changing important parts of your solution document.

Excel Data Analysis Sample
Demonstrates an inventory management application that executes data analysis tasks in Excel using menus, toolbar buttons, and a pivot table.

Word Task Pane Sample
Demonstrates how to create a basic custom task pane for Microsoft Office Word 2007.

Word Content Controls Sample
Demonstrates how to bind Microsoft Office Word content controls to database fields.

Outlook Form Region RSS Reader Sample
Demonstrates how to use Microsoft Office Outlook form regions to display the full content of articles from an RSS feed.

Ribbon Controls Sample
This sample demonstrates how to create a custom tab that appears on the Ribbon of a Microsoft Office Excel worksheet. This custom Ribbon demonstrates most of the controls available in the Office Ribbon Controls group of the Visual Studio Toolbox.

UI Manager Sample
Demonstrates how to create a Ribbon customization, a custom task pane, and a custom form region for Outlook by implementing extensibility interfaces in an add-in. Each instance of the Ribbon, task pane, and form region can correctly communicate with each other.

VBA Interop
Demonstrates how to call a method in a document-level customization for Microsoft Office Excel from Visual Basic for Applications (VBA) code in the workbook. The document customization gets data from an ADO.NET data service which is then exposed to VBA code through public methods in defined in the document customization. The Excel document specifies user defined functions in VBA that call into the public methods exposed by the document customization.
Last edited Mar 18 2010 at 8:40 PM  by BethMassi, version 30
mudoch wrote  Oct 25 2010 at 6:59 PM  
The Ribbon Controls sample appears not to work for the VB version the CS version is just fine, can see no differences in the Refs listing for either version. Getting Customization could not be loaded.

Page view tracker