Flowchart/VBA_HW Flashcards

(8 cards)

1
Q

What is an object? Method? Property?

A

•Object-workbook, worksheets, ranges (noun)
•Method-predefined action for object
•Property-facts or characteristics about an object

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

What is an example of an object, child object, and method?

A

Sheets(“Sheet1”).Range(“A1:A5”).Copy

Range is the object child of Sheets. The method is .Copy

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

What are some of the most common methods to use on Range Objects?

A

ClearContents, ClearFormats, Cut, Copy, Delete, Replace, Select

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

Are all property references Boolean = (True/False)?

A

…?

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

What are some of the most common properties to use on Range Objects?

A

Columns, Rows, Width, Offset, Value, Vertical Alignment.

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

What is a conditional structure?

A

A conditional structure causes the code to do different things depending on the situation.
Common types:
•If-then
•If-then-else
•Nested Ifs
•Select Case
•If…Else If

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

What’s the main difference between a Function and a Sub?

A

A function must always return a value. You assign this value to the function’s name within its code. A Sub does not return a value.

Also, Functions can be used directly in cells while Subs cannot.

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