100% found this document useful (1 vote)
567 views3 pages

Chapter 5 - Using Macros in Spreadsheet

Uploaded by

mrinaldhar28
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
567 views3 pages

Chapter 5 - Using Macros in Spreadsheet

Uploaded by

mrinaldhar28
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

CHAPTER 5 : USING MACROS IN SPREADSHEET

A. Multiple choice questions


1. Macro Recordings can be enabled from the __________ option in the menu bar.
a) Sheet
b) Data
c) Tools
d) Window

2. Which of the following is a valid Macro Name?


a) 1formatword
b) format word
c) format*word
d) Format_word

3. Which of the following Libraries contains modules with prerecorded macros and should not
be changed?
a) My Macros
b) LibreOfficeMacros
c) Untitled1
d) Test

4. Identify which of the following is a programming Language?


a) Calc
b) BASIC
c) Writer
d) Macro

5. The Module can be executed from the IDE by pressing ___________.


a) F3
b) F4
c) F5
d) F6

6. Which of the following is the default name of the Macro _______________.


a) Default
b) Main
c) Macro1
d) Main_Macro

B. Fill in the blanks


1. Standard library is automatically loaded when the document is opened.
2. IDE stands for Integrated Development Environment.

3. Macro as a function is capable of accepting arguments/ values and returning a result/


value.
4. Macro Organizer allows us to add, delete a module.

5. The code of macro begins with Sub followed by the name of the macro and ends with
End Sub.

6. By default a macro is saved in the Standard Library.

C. State whether the following statements are True or False

1. Macro is a group of instructions executing a single instruction. False

2. Once created, Macro can be used any number of times. True

3. By default, the Macro recording feature is turned on. False

4. It is not possible to stop recording of a Macro. False

5. Every Macro should be given a unique name. True


6. A macro once created can be edited later. True

D. Answer the following questions


1. What is a Macro? List any two real life situations where they can be used.
Answer: 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:


When we have to perform repeated tasks, such as typing school name, address, contact
numbers with a specific formatting.
When we apply the same formula at a particular cell for different sheets in a workbook.

2. List the actions that are not recorded by a macro.


Answer: The Macro records all the keyboard and mouse actions but the following actions are not
recorded:

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.
3. How is LibreOffice Macros Library different from my Macros?
Answer:
LibreOffice Macros Library My Macros

LibreOffice Macros Library is provided My Macros contain macros that the user
by LibreOffice and contains modules with write or add to LibreOffice.
pre-recorded macros.

It should not be changed. It can be changed according to users


requirement.

4. Differentiate between predefined function in Calc and Macros as a function.

Answer:

Pre-defined Functions Macro as a function

Pre-defined functions are already defined These are user defined functions. In this, the
in LibreOffice Calc. user creates a macro that performs the
calculations.

As, these are already created, we just have As these are created by user, first we have to
to use it as and when required. write a code in BASIC (a programming
language for macro), then we can use it
according to our requirement.

We cannot do any changes in pre-defined We can do changes in this according to our


functions. requirement.

Example : Sum(), Average(), etc. Example: Area(), Address(), etc.

5. List the rules that should be kept in mind while naming a macro.

Answer: Rules for naming a macro are:


Macro name must begin with a letter.
Macro name does not contain blank spaces.
Macro name doesn’t contain any special characters except for _(underscore)

6. Give any one advantage of macros.


Answer: Advantage of Macros:
Macros are used to automate the repeated tasks that are always performed in the same way
over and over again.
Saves time.
Increases efficiency and consistency.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy