Module 2 Programming with VBA Section 5
![]() |
Copa | Semester 2nd | Module 2 | Section 5 |
1. What is the another name trigger for an action in VBA?
VBA में कार्रवाई के लिए एक और नाम ट्रिगर क्या है?
2. Which shortcut key allows debugger to run the current procedure and go line after line called the procedure in VBA?
कौन सी शॉर्टकट कुंजी डिबगर को वर्तमान प्रक्रिया को चलाने और लाइन के बाद जाने की अनुमति देती है जिसे वीबीए में प्रक्रिया कहा जाता है?
3. While debugging code, which statement allows to go to the highlighted line?
डिबगिंग कोड करते समय, कौन सा स्टेटमेंट हाइलाइट की गई लाइन पर जाने की अनुमति देता है?
4. Which control is used to increase or decrease a value, such as a number time or date?
वैल्यू को बढ़ाने या घटाने के लिए किस कंट्रोल का उपयोग किया जाता है, जैसे संख्या समय या दिनांक?
5. Which VBA function compares given strings and returns -1 if the first string is smaller than the second string, returns 0 if both are equal and 1 if the first string is greater than second string?
कौन सा VBA फ़ंक्शन दिए गए स्ट्रिंग्स और रिटर्न -1 की तुलना करता है - यदि पहली स्ट्रिंग दूसरी स्ट्रिंग से छोटी है, तो रिटर्न 0 अगर दोनों बराबर हैं और 1 है तो पहली स्ट्रिंग दूसरी स्ट्रिंग से अधिक है?
6. Which scope does the variable declared with dim and remains in the existance only as long as the procedure in which if is declared is running?
कौन सा स्कोप डिम के साथ घोषित किया गया है और जब तक डिक्लेयर किया जाता है, उस प्रक्रिया में मौजूद वेरिएबल केवल डिफेंस में रहता है?
7. What will be the output of the following VBA code?
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Sub test()
a = 9
Debug.Print Sqr(a)
End sub
8. What will be the output for the following VBA code?
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Debug.print
DateDiff(“yyyy”,”1/12/2016”,”31/1/2017”)
9. What will be the output of the following VBA code?
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Sub test()
x = “institue”
Debug.print Format(x,”>”)
End sub
10. What will be the output of the following VBA code?
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Sub test()
Dim S AS string
S = “wholehearted”
Debug.Print mid(s,6,4)
End sub
11. What will be the output of the following VBA code?
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Sub test()
a = “ Computer operator”
Debug.Print left(a,10)
End sub
12. What will be the output of the following VBA code?
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Sub test()
Dim l as integer
Dim S as string
S = “Time is money”
l = len(s)
Debug.print “The length is “ & l
End sub
13. What will be the output of the following VBA function?
निम्नलिखित VBA फ़ंक्शन का आउटपुट क्या होगा?
Sub stg()
Str = “Mathematics”
Debug.Print right(str,6)
End sub
Post a Comment
If you have any doubts,Please let me know