Office Code Samples

Download office code samples and applications. New samples are added frequently in JavaScript, C++, C#, and VB.NET so check back often.You can also download code samples for other products like Windows Azure, Silverlight, SharePoint, Windows 8, Windows Phone, or explore the Official Visual Studio 2010 C#, VB.NET, and 101 LINQ samples.

Each sample is licensed to you by the party distributing it. Microsoft does not guarantee the samples or grant rights for any sample distributed by a party other than Microsoft. Use of this site is subject to the Terms of Use.
Sort By: rss
969 results
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View Samples
- Microsoft
Each code sample is part of the SharePoint 2010 101 code samples project. These samples are provided so that you can incorporate them directly in your code. Each code sample consists of a standalone project created in Microsoft Visual Studio 2010
Featured
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View Samples
- Microsoft
Each code sample is part of the SharePoint 2010 101 code samples project. These samples are provided so that you can incorporate them directly in your code. Each code sample consists of a standalone project created in Microsoft Visual Studio 2010
(30)
2/20/2012
43,483 Downloads
All-In-One Code Framework - Microsoft
The code sample demonstrates importing and exporting Excel worksheet in ASP.NET
(19)
1/21/2011
44,467 Downloads
C#
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View Samples
- Microsoft
Download all the code samples developed for apps for SharePoint in a single, convenient package.
(6)
3/28/2013
3,933 Downloads
C#
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View Samples
- Microsoft
This sample pack includes all of the code samples developed for apps for Office. The sample pack provides a convenient way to download all of the samples at once.
(4)
3/20/2013
4,084 Downloads
All-In-One Code Framework - Microsoft
The CppAutomateExcel example demonstrates how to write VC++ codes to create and automate a Microsoft Excel instance
(3)
3/2/2012
14,516 Downloads
C#, C++
LightSwitch Team
The "Survey Application Tutorial: Developing a SharePoint Application Using LightSwitch" will show you how to use LightSwitch to build a SharePoint application with an HTML client that runs on a variety of mobile devices.
(9)
11/12/2012
8,127 Downloads
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View Samples
- Microsoft
The code samples in the Exchange 2013: 101 code samples package show you how to use the Exchange Web Services (EWS) Managed API to send email messages, search mail folders, get contact information, check user availability, and more.
(1)
7/18/2012
6,179 Downloads
C#
All-In-One Code Framework - Microsoft
The CSAutomateExcel example demonstrates how to write VC# codes to create and automate a Microsoft Excel instance
(2)
3/2/2012
13,944 Downloads
C#
Ahmed Naji
In many time you will find yourself with some Excel file need to be saved or Export to SQL Server,I know it possible by using SQL Server Import and Export Wizard.But this depend on business Scenario itself ,so one  of the scenario is creating web application
or windows applicat
(6)
3/21/2012
11,829 Downloads
All-In-One Code Framework - Microsoft
The VBAutomateExcel example demonstrates how to write VB codes to create and automate a Microsoft Excel instance
(1)
3/2/2012
14,620 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 969 Items