Microsoft Office Tutorials and References
In Depth Information
Checking Out Chart Events
Using the Object Browser to locate events
The Object Browser is a useful tool that can help you learn about objects and their properties
and methods. It can also help you find out which objects support a particular event. For
example, say you’d like to find out which objects support the MouseMove event. Activate the VBE
and press F2 to display the Object Browser window. Make sure that <All Libraries> is
selected; then type MouseMove and click the binoculars icon (see the accompanying figure).
The Object Browser displays a list of matching items. Events are indicated with a small yellow
lightning bolt. From this list, you can see which objects support the MouseMove event. Most of
the objects located are controls in the MSForms library, home of the UserForm control. But you
can also see that Excel’s Chart object supports the MouseMove event.