What Is Macro
What Is Macro
Important Note
Before starting recording task using Macro,
Make sure macro recording is enabled by going
to
Tools > Options > LibreOffice > Advanced on
the main menu bar and selecting the option Enable
macro recording. By default, this feature is turned
off when LibreOffice was installed on your
computer.
Self-practice assignment to record a macro to fill a
column say column C with red color.
1) Click on column C
2) To start recording a macro
Click Tools --> Macros --> Record Macro on the main menu
bar. Then a small dialog is displayed indicating that LibreOffice
is recording a macro.
Note
When LibreOffice creates a new module, it automatically adds the macro named Main.
2.Running a macro called RED recorded in the above steps
To fill another column say column F
1) Click on column F Then click Tools > Macros > Run Macro on the main menu bar to open the
Macro Selector dialog (Figure ).
2)For example, select your newly created macro RED and click Run.
3)Alternatively, go to Tools > Macros > Organize Macros > LibreOffice Basic on the main
menu bar to open the LibreOffice Basic Macros dialog, select your macro and click Run.
Then column F will automatically fill with red color after clicking
Run button.