माइक्रोसॉफ्ट एक्सेल में मैक्रो प्रोग्रामिंग

StylizedKremlin avatar
StylizedKremlin
·
·
Download

Start Quiz

Study Flashcards

11 Questions

एक्सेल में मैक्रो प्रोग्रामिंग के लिए कौन सी प्रोग्रामिंग भाषा उपयोग की जाती है?

विजुअल बेसिक फॉर एप्लिकेशन्स (VBA)

एक्सेल में मैक्रो कิส प्रकार के होते हैं?

रिकॉर्डेड मैक्रो और वीबीए मैक्रो

एक्सेल में मैक्रो रिकॉर्ड करने के लिए क्या करना होता है?

डेवलपर टैब में रिकॉर्ड मैक्रो बटन पर क्लिक करना

मैक्रो सुरक्षा सेटिंग्स कहां से बदली जा सकती हैं?

एक्सेल विकल्प > ट्रस्ट सेंटर

एक्सेल में मैक्रो लिखने के लिए क्या करना होता है?

विजुअल बेसिक एडिटर में कोड लिखना

एक्सेल में मैक्रो का प्रमुख उपयोग क्या है?

रिपीटेटिव टास्क्स ऑटोमेट करना

एक मैक्रो की प्रामाणिकता की पुष्टि के लिए क्या उपयोग किया जाता है?

डिजिटल हस्ताक्षर

एक्सेल में मैक्रो क्यों उपयोग किया जाता है?

दैनिक कार्यों को स्वचालित करने के लिए

मैक्रो को कैसे चलाया जा सकता है?

सभी उपरोक्त

मैक्रो का उपयोग किस लिए किया जाता है?

सभी उपरोक्त

मैक्रो सुरक्षा सेटिंग क्या निर्धारित करता है?

मैक्रो को संचालित करने या नहीं करने का निर्णय

Study Notes

Macro Programming in Microsoft Excel

What is a Macro?

  • A macro is a set of automated instructions that can be used to perform repetitive tasks
  • Macros are written in Visual Basic for Applications (VBA) programming language
  • Macros can be used to automate tasks, create custom tools, and interact with other Excel features

Types of Macros

  • Recorded Macros: created by recording a sequence of actions in Excel
  • VBA Macros: written directly in the Visual Basic Editor using VBA code

Creating a Macro

  • Recording a Macro:
    • Go to the Developer tab (or enable it in the Excel options)
    • Click the Record Macro button
    • Perform the desired actions in Excel
    • Click Stop Recording
  • Writing a Macro in VBA:
    • Open the Visual Basic Editor (VBE) by pressing Alt+F11 or navigating to the Developer tab
    • Create a new module or open an existing one
    • Write VBA code using the Editor's tools and syntax

Macro Security

  • Macro Security Settings: can be set in the Trust Center (Excel Options > Trust Center > Trust Center Settings)
  • Macro-enabled vs. Macro-free Workbooks: workbooks can be saved with or without macros, depending on the security settings
  • Digital Signatures: can be used to authenticate the source of a macro and ensure it's from a trusted provider

Running a Macro

  • Running a Macro from the Ribbon: click the Macros button in the Developer tab and select the desired macro
  • Running a Macro from a Shortcut Key: assign a shortcut key to a macro in the Macro dialog box
  • Running a Macro from a Button or Shape: assign a macro to a button or shape in the worksheet

Macro Examples

  • Automating Repetitive Tasks: create a macro to perform tasks such as formatting, data entry, or report generation
  • Creating Custom Tools: create a macro to create custom tools, such as a button to insert a date or a formula
  • Interacting with Other Excel Features: create a macro to interact with other Excel features, such as pivot tables, charts, or Power BI

मैक्रो प्रोग्रामिंग इन माइक्रोसॉफ्ट एक्सेल

मैक्रो क्या है?

  • मैक्रो एक सेट ऑफ़ ऑटोमेटेड इंस्ट्रक्शन्स हैं जिनका उपयोग दोहरावदार टास्क्स को पूरा करने के लिए किया जा सकता है
  • मैक्रोज़ विज़ुअल बेसिक फॉर एप्लीकेशन्स (VBA) प्रोग्रामिंग लैंग्वेज में लिखे जाते हैं
  • मैक्रोज़ टास्क्स को स्वचालित करने, कस्टम टूल्स बनाने और एक्सेल के दूसरे फीचर्स से इंटरैक्ट करने के लिए उपयोग किए जाते हैं

मैक्रो के प्रकार

  • रिकॉर्डेड मैक्रोज़: एक्सेल में एक्शन्स की एक सीक्वेंस रिकॉर्ड करके बनाए जाते हैं
  • VBA मैक्रोज़: विज़ुअल बेसिक एडिटर में VBA कोड लिखकर बनाए जाते हैं

मैक्रो क्रिएट करना

  • रिकॉर्डिंग मैक्रो:
    • डेवलपर टैब पर जाएं (या एक्सेल विकल्पों में इनेबल करें)
    • रिकॉर्ड मैक्रो बटन क्लिक करें
    • एक्सेल में वांछित एक्शन्स परफॉर्म करें
    • स्टॉप रिकॉर्डिंग क्लिक करें
  • VBA में मैक्रो लिखना:
    • अल्ट+F11 प्रेस करें या डेवलपर टैब नेविगेट करें
    • नया मॉड्यूल क्रिएट करें या मौजूदा ओपन करें
    • एडिटर के टूल्स और सिंटेक्स का उपयोग करके VBA कोड लिखें

मैक्रो सुरक्षा

  • मैक्रो सुरक्षा सेटिंग्स: ट्रस्ट सेंटर (एक्सेल विकल्प > ट्रस्ट सेंटर > ट्रस्ट सेंटर सेटिंग्स) में सेट की जा सकती हैं
  • मैक्रो-इनेबल्ड बनाम मैक्रो-फ्री वर्कबुक्स: वर्कबुक्स सुरक्षा सेटिंग्स के आधार पर मैक्रोस के साथ या बिना सेव की जा सकती हैं
  • डिजिटल सिग्नेचर: मैक्रो के स्रोत को ऑथेंटिकेट करने और उसे ट्रस्टेड प्रोवाइडर से होने की पुष्टि करने के लिए उपयोग किए जाते हैं

मैक्रो रन करना

  • रिबन से मैक्रो रन करना: डेवलपर टैब में मैक्रो बटन क्लिक करें और वांछित मैक्रो चुनें
  • शॉर्टकट की से मैक्रो रन करना: मैक्रो डायलॉग बॉक्स में शॉर्टकट की असाइन करें
  • बटन या शेप से मัค्रो रन करना: वर्कशीट में बटन या शेप से मैक्रो असाइन करें

इस क्विज़ में माइक्रोसॉफ्ट एक्सेल में मैक्रो प्रोग्रामिंग के बारे में जानें। मैक्रो क्या है, और इसके प्रकार क्या हैं?.Visual Basic for Applications (VBA) प्रोग्रामिंग भाषा में मैक्रो लिखे जाते हैं।

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Excel Lookup Formulas and Functions Quiz
3 questions
Mastering Spreadsheets
5 questions
Fórmulas en Excel
10 questions
Use Quizgecko on...
Browser
Browser