Chapter 20. Understanding the Word Object Model and Key Objects

This chapter shows you how to start coming to grips with the Word object model and the architecture underlying Word, and how to perform common tasks with the most frequently useful Word objects. These objects include the Documents collection and the Document object, the Selection object, Range objects, and the Options object.

In this chapter you will learn to do the following:

  • Understand the Word object model

  • Understand Word's creatable objects

  • Work with the Documents collection and the Document object

  • Work with the Selection object

  • Create and use ranges

  • Manipulate options

Examining the Word Object Model

You don't need to understand how the entire Word object model fits together in order to ...

Get Mastering VBA for Microsoft® Office 2010 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.