Lesson#3 Objects and the Excel Object Model Flashcards

1
Q

What is the Excel Object Model?

A

The objects in Excel which are organised in a local hierarchy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which object is at the top of the hierarchy?

A

Application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the 3 basic steps to navigate the Excel Object Model?

A
  1. Start at the top of the model, with the Application object.
  2. Use properties to return objects.
  3. Use dots (.) to connect the different objects/properties.
    e. g. Application.Workbooks.Worksheets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the 2 ways you can identify an individual object from within a collection?

A

Index number and objects name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the 3 basic rules for placing an index number or object name within a statement?

A
  1. No. or Name is placed after collection name.
  2. Index number is wrapped within parentheses. (Collection(#)).
  3. Object name is wrapped within double quotes and parentheses. (Collection(“ObjectName”).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you simplify fully-qualified references?

A

You can omit the Application object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly