Lesson#2 VBA Statements Flashcards

1
Q

What are the 5 basic elements of VBA language?

A

Objects, Collections, Properties, Methods and Parameters.

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

What is an Object?

A

You use an object to refer to something. e.g. A workbook, represented by the workbook object.

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

What are Collections?

A

When you refer to several alike objects at the same time. e.g. All open workbooks represented by the Workbooks collection.

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

What are properties?

A

The characteristics or attributes of an object. e.g. The address of a cell (the Range.Address property)

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

What are methods?

A

They express an action you carry out with , or on, an object. e.g. Copying, Cutting or Pasting (the copy, cut and paste methods)

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

What are parameters?

A

They allow you to further specify:

  • How a method is carried out.
  • A property behaves or is modified.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you connect object with properties or methods?

A

Using a dot. ‘.’

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

What is the basic structure of a VBA statement?

A

An object, a dot and a property or method. e.g. Object.Property

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