In this screencast, Office program manager Kevin Boske demos three code snippets for Visual Studio 2005 for working with Office Open XML files using the System.IO.Packaging namespace from .NET 3.0. Office Open XML is a file format standardized by Ecma. It is the new default file format for Word, Excel and PowerPoint 2007. The ability to programmatically access data within these file formats is a key feature for developers.
Ken Getz wrote 40 Visual Studio 2005 code snippets in C# and VB.Net for working with the Open XML files that are downloadable from the web. The Office Open XML code snippets include snippets for redacting macros from Word Documents, adding string values to cells in Excel workbooks, finding slides by title in PowerPoint, etc.
These code snippets will help you get started building applications to directly access data within Open XML files.