macro


A macro is a sequence of predefined commands and actions that you can bundle together into a single, automated task. In Microsoft Word, macros are a handy feature that lets you streamline and expedite document-related tasks. Here are two methods to create and utilize macros in a Word document:

Method 1: Recording a Macro Using the Button Option

Microsoft Word offers a functionality that allows you to record and subsequently execute macros, greatly enhancing document workflow.

Step 1: Start by opening a new Word document or an existing one.

Step 2: Navigate to the "View" tab on the Ribbon and locate the "Macros" section. Click on the dropdown arrow associated with Macros.

Step 3: From the dropdown menu, choose "Record Macro."

Step 4: A "Record Macro" dialog box will appear. In this dialog box:

  • Enter a name for your macro in the "Macro name" text field.
  • Optionally, you can assign a shortcut key combination for easy access.
  • You can also specify where to store the macro (either in the current document or a global template).

Step 5: Perform the specific actions that you want to record as part of your macro.

Step 6: After completing the desired actions, return to the "View" tab on the Ribbon and select "Stop Recording" from the Macros dropdown menu.

Running a Macro:

To execute a recorded macro, follow these steps:

  1. Navigate to the "View" tab.
  2. Click on "Macros" and select "View Macros" from the dropdown menu.
  3. In the "Macro" dialog box that appears, select the macro you want to run.
  4. Click "Run."

    मैक्रो क्या है: एक मैक्रो एक पूर्वनिर्धारित कमांडों और क्रियाओं की एक दिशा में बंडल करने की एक अनुमति है जिसे आप एक ही, स्वचालित कार्य में जोड़ सकते हैं। माइक्रोसॉफ्ट वर्ड में, मैक्रो एक उपयोगी फ़ीचर है जिसकी मदद से आप दस्तावेज़ संबंधित कार्यों को सुचालित और गति दे सकते हैं। निम्नलिखित हैं एक वर्ड दस्तावेज़ में मैक्रो बनाने और उपयोग करने के दो तरीके:

    Method 1: Recording a Macro Using the Button Option

    माइक्रोसॉफ्ट वर्ड एक ऐसी विशेषता प्रदान करता है जिसका उपयोग मैक्रो को रिकॉर्ड करने और फिर से चलाने की अनुमति देता है, जो दस्तावेज़ कार्यप्रवृत्ति को बहुत अधिक सुविधाजनक बनाता है।

    स्टेप 1: पहले एक नया वर्ड दस्तावेज़ खोलकर शुरू करें या मौजूदा दस्तावेज़ खोलें।

    स्टेप 2: रिबन पर "View" टैब पर जाएं और "Macros" सेक्शन को ढूंढें। Macros के साथ जुड़े ड्रॉपडाउन ऐरो पर क्लिक करें।

    स्टेप 3: ड्रॉपडाउन मेनू से "Record Macro" का चयन करें।

    स्टेप 4: "Record Macro" डायलॉग बॉक्स प्रकट होगा। इस डायलॉग बॉक्स में:

    • "Macro name" टेक्स्ट फ़ील्ड में आपके मैक्रो का नाम दर्ज करें।
    • वैकल्पिक रूप से, आप आसान पहुँच के लिए एक शॉर्टकट कुंजी संयोजित कर सकते हैं।
    • आप यह भी निर्दिष्ट कर सकते हैं कि मैक्रो को कहाँ संग्रहित करना है (वर्तमान दस्तावेज़ में या एक ग्लोबल टेम्पलेट में)।

    स्टेप 5: अपने मैक्रो का हिस्सा बनाने के रूप में रिकॉर्ड करने के लिए विशिष्ट कार्रवाई करें।

    स्टेप 6: जब आप इच्छित कार्रवाई पूरी कर लेते हैं, "View" टैब पर वापस जाएं और Macros के ड्रॉपडाउन मेनू से "Stop Recording" का चयन करें।

    मैक्रो चलाना:

    रिकॉर्ड किया गया मैक्रो चलाने के लिए, निम्नलिखित कदमों का पालन करें:

    1. "View" टैब पर जाएं।
    2. "Macros" पर क्लिक करें और ड्रॉपडाउन मेनू से "View Macros" का चयन करें।
    3. प्रकट होने वाले "Macro" डायलॉग बॉक्स में, आपको चलाना चाहिए मैक्रो का चयन करें।
    4. "Run" पर क्लिक करें।