Contents
Index 🔎︎

# Recording a Macro

LibreOffice can record commands executed with the keyboard and mouse in Writer and Calc

1. उस दस्तावेज़ को खोलें जिसके लिए आप मॅक्रो रेकॉर्ड करना चाहते हैं.

2. Choose Tools - Macros - Record Macro.

   If Tools - Macros - Record Macro menu item is missing, make sure that macro recording feature is enabled in LibreOffice - Preferences Tools - Options - LibreOffice - Advanced.

   You see the small Recording dialog with just one button called Stop Recording.

3. दस्तावेज़ में जिन्हें रेकॉर्ड करना हैं वे क्रियाएँ निष्पादित करें.

   किसी वस्तु को अचयनित करने के लिए एस्केप कुंजी दबाएँ, चूंकि म्रॅक्रो रेकॉर्डर वर्तमान में इस क्रिया को माउस क्लिक से रेकॉर्ड नहीं कर रहा है.

4. Click Stop Recording.

   The Macro dialog appears, in which you can save and run the macro.

   If you want to abort the recording without saving a macro, click the Close button of the Recording dialog.

5. To save the macro, first select the object where you want the macro to be saved in the Save macro in list box.

6. If you want the macro to be saved into a new library or module, click the New Library or New Module button and enter a name for the library or module.

7. Enter a name for the new macro in the Macro name text box. Do not use Basic keywords as a name.

8. Click Save.

## Limitations of the macro recorder

The following actions are not recorded:

- Opening of windows is not recorded.

- Actions carried out in another window than where the recorder was started are not recorded.

- Window switching is not recorded.

- Actions that are not related to the document contents are not recorded. 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.

Related Topics

Macro