All-In-One Office Development Code Samples

Introduction

The All-In-One Office development code samples demonstrate the typical programming topics about Microsoft Office. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they are developing Office projects. 

 

Visual Studio 2008 Code Samples

Sample Description Download ReadMe
CppAutomateExcel Automate Excel in a VC++ application Download ReadMe.txt
CppAutomateOutlook Automate Outlook in a VC++ application Download ReadMe.txt
CppAutomatePowerPoint Automate PowerPoint in a VC++ application Download ReadMe.txt
CppAutomateVisio Automate Visio in a VC++ application Download ReadMe.txt
CppAutomateWord Automate Word in a VC++ application Download ReadMe.txt
CppOfficeManagedCOMAddInShim Shim of Office Managed COM AddIn Download ReadMe.txt
CSAutomateExcel Automate Excel in a C# application Download ReadMe.txt
CSAutomateOutlook Automate Outlook in a C# application Download ReadMe.txt
CSAutomatePowerPoint Automate PowerPoint in a C# application Download ReadMe.txt
CSAutomateVisio Automate Visio in a C# application Download ReadMe.txt
CSAutomateWord Automate Word in a C# application Download ReadMe.txt
CSExcelAutomationAddIn Excel Automation Add-in in C# Download ReadMe.txt
CSOfficeSharedAddIn Office shared add-in (C#) Download ReadMe.txt
CSOutlookImportedFormRegion Build an Outlook look custom form via Outlook Form Region (C#) Download ReadMe.txt
CSOutlookRibbonXml Customize Outlook UI using Ribbon XML (C#) Download ReadMe.txt
CSOutlookUIDesigner Customize Outlook UI using VSTO Designers (C#) Download ReadMe.txt
CSVstoExcelWorkbook Customize Excel workbook using VSTO Download ReadMe.txt
CSVstoGetWrapperObject Get VSTO Wrapper Object (C#) Download ReadMe.txt
CSVstoServerDocument Use VSTO ServerDocument class (C#) Download ReadMe.txt
CSVstoVBAInterop VSTO Interop with Excel VBA macros (C#) Download ReadMe.txt
CSVstoWordDocument VSTO Word document-level addin (C#) Download ReadMe.txt
VBAutomateExcel Automate Excel in a VB application Download ReadMe.txt
VBAutomateOutlook Automate Outlook in a VB application Download ReadMe.txt
VBAutomatePowerPoint Automate PowerPoint in a VB application Download ReadMe.txt
VBAutomateVisio Automate Visio in a VB application Download ReadMe.txt
VBAutomateWord Automate Word in a VB application Download ReadMe.txt
VBExcelAutomationAddIn Excel Automation Add-in in VB Download ReadMe.txt
VBOutlookImportedFormRegion Build an Outlook look custom form via Outlook Form Region (VB) Download ReadMe.txt
VBOutlookRibbonXml Customize Outlook UI using Ribbon XML (VB) Download ReadMe.txt
VBVstoExcelWorkbook VSTO Excel workbook (VB) Download ReadMe.txt
VBVstoGetWrapperObject Get VSTO Wrapper Object (VB) Download ReadMe.txt
VBVstoServerDocument Use VSTO ServerDocument class (VB) Download ReadMe.txt
VBVstoVBAInterop VSTO Interop with Excel VBA macros (VB) Download ReadMe.txt
VBVstoWordDocument VSTO Word document-level addin (VB) Download ReadMe.txt

 

Visual Studio 2010 Code Samples

Sample Description Download ReadMe
CSOfficeRibbonAccessibility Automate Office ribbon through MSAA (C3) Download ReadMe.txt
CSOneNoteRibbonAddIn OneNote Ribbon add-in (C#) Download ReadMe.txt
VBOfficeRibbonAccessibility Automate Office ribbon through MSAA (VB) Download ReadMe.txt
VBOneNoteRibbonAddIn OneNote Ribbon add-in (VB) Download ReadMe.txt

 

Download all code samples: http://1code.codeplex.com/releases

 

Submit your request of Office Development code samples (Guidance)

Last edited Jan 23, 2011 at 11:33 AM by Jialiang, version 4

Comments

No comments yet.