Lesson#1 What are Macros? Flashcards

1
Q

What is a Macro?

A

A small computer program i.e. Procedure

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

What are the 2 types of Procedure?

A

Sub Procedures and Function Procedures

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

What is a Sub Procedure?

A

A procedure which performs a specific task but won’t return values.

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

What is a Function Procedure?

A

A procedure which carries out certain calculations and returns a value.

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

What is the structure of a Sub Procedure?

A

Sub ProcedureName()
Statements
End Sub

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

What are the basic instructions for naming a Procedure?

A
  • Combination of letters and numbers.
  • Ensure first character is a letter.
  • Don’t use spaces.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly