S 2 (Solved Exercise)
S 2 (Solved Exercise)
Q.C True/False
1. False
2. True
3. False
4. False
5. True
6. True
Ans. 1Macro: A macro is a single instruction that executes a set of instructions. These set of instructions can be a
sequence of commands or keystrokes that can be used for any number of times later. Macro helps us to automate the
repeated tasks that are always performed in the same way over and over again.
Two real life situations where Macros can be used:
i) When we have to perform repeated tasks , such as typing school name, address, contact numbers with a specific
formatting.
ii) When we apply the same formula at a particular cell for different sheets in a workbook.
Ans. 2 The Macro records all the keyboard and mouse actions but the following actions are not recorded.
i) Opening of windows
ii) Actions carried out in another window than where the recording was started.
iii) Window switching
iv) Actions that are not related to the spreadsheet contents. For example, changes made in the Options dialog, macro
organizer, customizing.
v) Selections are recorded only if they are done by using the keyboard (cursor traveling), but not when the mouse is
used.
vi) The macro recorder works only in Calc and Writer.
Ans. 3
Ans. 4
Pre-defined Functions Macro as a Function
1. They are already defined in LibreOffice calc. They are user defined functions. In this, the user creates a
macro that performs the calculations.
2. They are already created so we just have to use it They are created by user, so first we have to write a code
whenever required. in BASIC(a programming language for macro), then we
can use it according to our requirement.
3. We cannot do any changes in pre-defined functions. We can do changes in this according to our requirement.