COPA advanced excel concepts Page-2 Question Bank

6.  How many levels of variable scope available in VBA?
VBA में वेरिएबल स्कोप के कितने स्तर उपलब्ध हैं?  [Bharat Skill QB]

(A) 2
(B) 3
(C) 4
(D) 7

7.  What will be the output of the following VBA code?
Debug.printformat(#1/1/2017#,”yyyy/mm/dd”)
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Debug.printformat (#1/1/2017#,"yyyy/mm/dd")  [Bharat Skill QB]

(A) 2017-01-01 00:00:00
(B) Sun, Jan01, 2017
(C) 2017-01-01 00:00:00
(D) Sunday, January 01, 2017

8.  Which function returns true if the expression is a valid date, otherwise it returns false in VBA?
कौन सा फंक्शन सही रिटर्न करेगा अगर एक्सप्रेशन एक वैलिड दिनांक है, अन्यथा यह VBA में गलत रिटर्न करेगा?  [Bharat Skill QB]

(A) CDate()
(B) IsDate()
(C) Day()
(D) Dateadd()

9.  What is the full form of UDF in VBA?
VBA में UDF का पूर्ण रूप क्या है?  [Bharat Skill QB]

(A) User Data Functions
(B) User Defined Functions
(C) Undefined Functions
(D) Used Data Functions

10.  Which function returns the day of the month (number from 1 to 31) given date value in VBA?
कौन सा फंक्शन महीने का दिन (1 से 31 तक की संख्या) VBA में दिनांक से बता देता है?  [Bharat Skill QB]

(A) Day()
(B) Date()
(C) Month()
(D) Datepart()