Skip to main content

OneNote for developers

Find programming resources for OneNote 2010, OneNote 2007, and OneNote 2003.

Customizing OneNote 2010 with VBA

Quick notes

The goal of these exercises is to enable you to use VBA to customize OneNote 2010 for your own applications. Each task addresses a particular scenario. After you complete an exercise, you should have a good understanding of how to apply the information to your own solutions.

Code samples

Each code sample consists of approximately 5 to 50 lines of code demonstrating a distinct feature or feature set, in either VBA or both VB and C# (created in Visual Studio 2010). Each sample includes comments describing the sample, and setup code so that you can run the code with expected results or the comments will explains how to set up the environment so that the sample code runs.

References

  • OneNote 2010 Developer Reference

    This reference includes all the additions and changes to the OneNote 2010 application programming interface (API), and provides code samples in C# to show how to perform some tasks in OneNote. The OneNote 2010 API allows users to programmatically access and edit OneNote content.

  • OneNote 2010 Product Guide

    The Office 2010 product guides provide an overview of what’s new in your favorite Microsoft Office programs and a deeper look at benefits across all Office 2010 programs, as well as Office Web Apps and Office Mobile

  • OneNote 2003 XML Schema Reference

    This documentation contains conceptual overviews, programming tasks, samples, and references to guide you in developing solutions based on the OneNote XML Schema Reference.

Articles

Videos