Lesson#1 What are Macros? Flashcards
1
Q
What is a Macro?
A
A small computer program i.e. Procedure
2
Q
What are the 2 types of Procedure?
A
Sub Procedures and Function Procedures
3
Q
What is a Sub Procedure?
A
A procedure which performs a specific task but won’t return values.
4
Q
What is a Function Procedure?
A
A procedure which carries out certain calculations and returns a value.
5
Q
What is the structure of a Sub Procedure?
A
Sub ProcedureName()
Statements
End Sub
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.