Chapter 5
Chapter 5
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.
Here are two real life situation where macro can be used:
1. Data entry
2. Document formatting
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. For example, changes made in the
Options dialog, macro organizer, customizing.
• 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.
Macro automate repetitive tasks, saving time and increases efficiency and consistency.