Introduction to the Excel Object Model
Regardless of the approach you choose to integrate your code with Excel, you will eventually need to talk to the Excel object model to get things done. It is impossible to completely describe the Excel object model in this book, but we try to make you familiar with the most important objects in the Excel object model and show some of the most frequently used methods, properties, and events on these objects.
The Object Hierarchy
The first step in learning the Excel object model is getting an idea for the basic structure of the object model hierarchy. Figure 3-16 shows the most critical objects in the Excel object model and their hierarchical relationship.
Figure 3-16. The basic hierarchy of the Excel object model.

Figure 3-17. Inserting various kinds of "sheets" into an Excel Workbook.
[View full size image]

Figure 3-18. A more detailed hierarchy of some major objects in the Excel object model.
Listing 3-2.
Figure 3-19. A more detailed hierarchy of objects associated with Range in the Excel object model.
[View full size image]

Figure 3-20. A more detailed hierarchy of objects associated with Shape in the Excel object model.
[View full size image]
