Figure The Microsoft Object Browser

(Object 6i<mset

| Excel

| Excel

ClasjiSi

Members Df'-.glDbals

o [<glabals>

: *

3S1 AcflveCell

© Addln

S ActireChart

& Addlns

-

Ji? AcHwe Printer

¿A A- lj: istments

iff Act ve Sheet

Application

AclweWindavv

¿H Areas

i1 ActiveWorkbooK

<£J AutdCorrcct

& Addtas

AutoFilter

if1 Application

& AX3-3

ifi1 As&itant

¿i ¿as

» Calculate

fiflAwsTide

4" CelK

(JI Border

nS" Charts

til Borders

iff Columns

CflUcuiaedFields

if ComnarnJSars

¿1 CaiicJaiedtems

Creator

(21 CsMoutForrnal

3? DDEAppRtfturnCode

<fj CI-a facte re

^ DDEEi;etute

¿J CI";iit

« DDET if; it:i.te

ffij CI-artArea

^ DDCPcr-e

tZi Cl-artColorformat

® DDEfiequest

r*.i i a

l

* DDETerniinate mL r— r i.

Library Excal

Jk

F vrtfii- RWMOff ca\E5iCEl R 01 P

MicruaaH Excel 0 D C'bjec: Library

W

The topmost drop-down list box lets us select an object model for viewing; in the case of Figure 15-1, we are viewing the Excel object model. The second list box is for searching the object model. On the left, we find a list of the classes in the object model. There is one class per object and one class per enum. The right-hand list box shows the properties, methods, and events of the object that is selected in the Classes list box. The text box at the bottom gives some information about the selected item.

The Object Browser is certainly a useful tool, and you will probably want to spend some time experimenting with it. (Perhaps its best feature is that it is easily accessible from the IDE.) However, it gives only a flat, one-dimensional view of the object model. For this reason, I have written an object browser that provides a two-dimensional view of an object model. In fact, many of the figures in this book are screen shots taken from my object browser. For more information on this browser, please see the coupon in the back of this book.

0 0

Post a comment