0% found this document useful (0 votes)
16 views4 pages

Experiment No.:13: Aim: Theory

The document discusses creating and running macros in LibreOffice Writer. It explains that macros automate repetitive tasks by recording keystrokes. It provides steps to record a macro by enabling recording, typing content, and saving the recording. It also gives steps to run a previously recorded macro by selecting and running it.

Uploaded by

Rashmeet Kaur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views4 pages

Experiment No.:13: Aim: Theory

The document discusses creating and running macros in LibreOffice Writer. It explains that macros automate repetitive tasks by recording keystrokes. It provides steps to record a macro by enabling recording, typing content, and saving the recording. It also gives steps to run a previously recorded macro by selecting and running it.

Uploaded by

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

Date:15/02/2021

Experiment No.:13

Aim: Create an open office writer document and implement macro function.

Theory: A macro is a saved sequence of commands or keystrokes that are stored for later use. An example of a
simple macro is one that “types” your address. The LibreOffice macro language is very flexible, allowing
automation of both simple and complex tasks. Macros are very useful when you have to repeat the same task in
the same way over and over again.The usual methods for a beginner are to use macros that someone else has
written or use the built-in macro recorder, which records keystrokes and saves them for use.

Recording a 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.

Step1: Open LibreOffice Writer and go to Tools, then Macros and select Record Macro.
Step2: Type the desired information. As an example, type any sentence.

Step3: Click on Stop Recording button on the small window and select the Module you want the Macro to be
saved in and click on Save.
Running a Macro

Step4: To run a recorded Macro, go to Tools, then Macros and click on Run Macro to open Macro Selector
Dialog.

Step5: Select your newly created Macro and click on Run.


Step6: The result is as shown below.

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