Office code samples
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
This sample shows how to iterate through the first notebook in Microsoft OneNote 2010, then its first section, and finally gets the first page and outputs the page content from a VBA host (excluding OneNote).This code snippet is part of the Office 2010 101 code samples project. T
|
(2)
Updated 8/3/2011
Released 8/3/2011
1,266
Downloads
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
This sample shows how to retrieve a Microsoft OneNote 2010 notebook and then perform a keyword search of that notebook, returning the results as XML.This code snippet is part of the Office 2010 101 code samples project. This sample, along with others, is offered here to incorpora
|
(1)
Updated 8/3/2011
Released 8/3/2011
868
Downloads
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
This sample shows how to find the first section of a Microsoft OneNote 2010 notebook, create a new page, and then set the title and page content.This code snippet is part of the Office 2010 101 code samples project. This sample, along with others, is offered here to incorporate d
|
(2)
Updated 8/3/2011
Released 8/3/2011
3,099
Downloads
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
This sample shows how to use the GetHierarchy method to get attribute data about the sections in Microsoft OneNote 2010 notebooks from any VBA host (excluding OneNote).This code snippet is part of the Office 2010 101 code samples project. This sample, along with others, is offere
|
(0)
Updated 8/3/2011
Released 8/3/2011
1,185
Downloads
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
This sample shows how to get metadata and data about available Microsoft OneNote 2010 notebooks using the GetHierarchy method in any VBA host (excluding OneNote).This code snippet is part of the Office 2010 101 code samples project. This sample, along with others, is offered here
|
(1)
Updated 8/3/2011
Released 8/3/2011
1,004
Downloads
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
This sample shows how to use various methods to close, open, and then display a Microsoft OneNote 2010 notebook in a new window.This code snippet is part of the Office 2010 101 code samples project. This sample, along with others, is offered here to incorporate directly in your c
|
(1)
Updated 8/3/2011
Released 8/3/2011
1,311
Downloads
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
This sample demonstrates the QuickFiling dialog to select an object, such as a Page object, in Microsoft OneNote 2010 by using a built-in dialog and return various properties.This code snippet is part of the Office 2010 101 code samples project. This sample, along with others, is
|
(0)
Updated 8/3/2011
Released 8/3/2011
1,404
Downloads
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
This sample shows how to use the Windows and Window objects to retrieve information about the currently open Microsoft OneNote 2010 window(s) such as notebook, page, and section IDs.This code snippet is part of the Office 2010 101 code samples project. This sample, along with oth
|
(0)
Updated 8/3/2011
Released 8/3/2011
759
Downloads
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
This sample shows how to get metadata from the pages of a section in Microsoft OneNote 2010 notebooks such as the section name, its ID, and last date it was modified.This code snippet is part of the Office 2010 101 code samples project. This sample, along with others, is offered
|
(0)
Updated 8/3/2011
Released 8/3/2011
1,173
Downloads
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
This sample shows how to iterate through a Microsoft OneNote 2010 notebook, its first section, and finally get the first page and outputs the page's content to a PDF file.This code snippet is part of the Office 2010 101 code samples project. This sample, along with others, is off
|
(0)
Updated 8/3/2011
Released 8/3/2011
924
Downloads
|
|
Download Visual Studio