UNIT 2 Chapter 5
UNIT 2 Chapter 5
1. Macro Recordings can be enabled from the ________ option in the menu bar.
(c) Tools
(d) Format_word.
3. Which of the following Libraries contains modules with prerecorded macros and should not be
changed?
(b) BASIC
(c) F5
(b) Main
II. Fill in the blanks
5. The code of macro begins with ______ followed by the name of the macro and ends with _______.
Answers
1. Standard
2. Integrated Development Environment
3. arguments/values, result/value
4. Organizer
5. Sub, End Sub
6. Standard Library
1. What is a Macro? List any two real life situations where they can be used.
Ans: A macro is a sequence of instructions or commands that automate repetitive tasks in software
applications. In other words, we can say that a macro is a single instruction that executes a set of
instructions.
• Opening of windows
• Actions carried out in another window than where the recording was started.
• Window switching
• Actions that are not related to the spreadsheet contents.
• Selections are recorded only if they are done by using the keyboard (cursor traveling), but not
when the mouse is used.
• The macro recorder works only in Calc and Writer.
Ans:
Ans:
5. List the rules that should be kept in mind while naming a macro.
Ans: Rules that should be kept in mind while naming a macro are:
Macros automate repetitive task. It is time saving. It increases efficiency and consistency.
V. Answer the following.
Answer: macro
Answer: Standard
3___________ Macros library contains modules with prerecorded macros and should not be changed.
Answer: LibreOffice
Answer: My Macros
Answer BASIC
6. Choose the macro name from the ________________ to view the associated code.
7. A__________ can perform operations on the arguments, perform calculations and return the result.
Answer: function
8. We can write macro instructions in between Function and End Function. (True/False)
Answer: True
9. If all the macros are given the same name then they will overwrite the previous Macro created by that
name. (True/False)
Answer: True
10. What are the rules for naming a Macro, Module or a Library?