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 apps for Office, apps for SharePoint, 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
1238 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
All-In-One Code Framework - Microsoft
How to convert excel file to xml format
(10)
Updated 6/14/2013
Released 6/14/2013
31,642 Downloads
Dave A Gordon
Wow, we have done quite a lot over the last couple of days. Today I will show you the Moravec Corner Detector, and the Histogram viewer that we have created for the application.
(0)
Updated 1/14/2014
Released 1/14/2014
5,392 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 samples in the Exchange 2013: 101 code samples package show you how to use the Exchange Web Services (EWS) Managed API to perform specific tasks with mailbox data on an on-premises Exchange server, Exchange Online, or Exchange Online as part of Office 365.
(5)
Updated 12/19/2013
Released 7/18/2012
15,894 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.
(5)
Updated 3/25/2014
Released 3/20/2013
16,263 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
Download all the code samples developed for apps for SharePoint in a single, convenient package.
(13)
Updated 4/17/2013
Released 3/28/2013
12,941 Downloads
MusakkhirSayyed
In .NET no direct support for Word Document to PDF Document Conversion.This sample of application explain how to Convert Document File such as .doc,.docx to PDF Documents. It is very easy to use and understand.
Screen
Add the following reference Assembly.1) system.windows.forms
(3)
Updated 1/10/2014
Released 1/8/2014
3,402 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
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
(35)
Updated 2/28/2012
Released 2/20/2012
58,932 Downloads
MusakkhirSayyed
This Sample Describes How to Export Gridview in a doc/access/excel/html/xml/text/pdf/csv/print format.To export GridView in PDF format it requires ITextSharp Library. The download link of this library is given below.
itextsharp.dll
DescriptionThis Sample of Application describe
(2)
Updated 2/17/2014
Released 1/19/2014
2,094 Downloads
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
(10)
Updated 4/26/2012
Released 3/21/2012
20,226 Downloads
Dave A Gordon
As this application gets more complicated with ever more functions, and we have only just started, the user interface started to show its limitations. So today we will do a massive refactoring, and completely overhaul the interface to enable docking.
    
(0)
Updated 1/19/2014
Released 1/19/2014
2,678 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 1238 Items