Our experts have gathered these VBA MCQs through research, and we hope that you will be able to see how much knowledge base you have for the subject of VBAX by answering these 100+ multiple-choice questions.
Get started now by scrolling down!
A. Visual Basic Answers
B. Visual By Arithmetic
C. Visual By Algorithms
D. Visual Basic for Applications
A. Too many if-then statements have already been used
B. An action is taken regardless of the value a variable
C. A variable is a Boolean type
D. A variable can take on multiple values
A. Len(CStr(Forms!DataEntryfrm.Text11.Value))
B. Spaces(Forms!DataEntryfrm.Text11.Value)
C. Char(Forms!DataEntryfrm.Text11.Value)
D. Length(CStr(Forms!DataEntryfrm.Text11.Value))
A. (none of these are correct)
B. Using Items property
C. Using Count property
D. Using Ubound property
E. Using Contains method
A. For x = 1 to 5 Step 2
B. For x = 1 to 10 Step 2
C. For x = 1 to 5 Step 5
D. For x = 1 to 10 Step 5
A. xlsm
B. xlsx
C. xlv
D. xlsv
A. ActiveX Controls
B. Form Controls
A. Function can return a value.
B. Sub routine can return a value.
A. To link Excel files together
B. To automatically complete a series of Excel steps
C. To create buttons and forms in Excel
D. To access programs in Excel
A. Virtual Basic for Advanced programming
B. Visual Basic Applied
C. Visual Basic for Applications
D. Very Basic Applications
A. Select Case... Case... Case Else... End Select
B. Do Until... Loop
C. For Each.. Next
D. Do While... Loop
A. Just a simple SQL statement
B. an ethernet cable
C. an ADODB.Connection
D. Access as a go-between
A. Turn on Num Lock
B. Activate the Edit toolbar in the Visual Basic Editor
C. Turn on Caps Lock
D. Restart Excel
A. Document myvar as an Integer
B. Dim myvar As Integer
C. Declare myvar is an Integer
A. >=
B. <>
C. ==
D. <=
A. Double quote
B. Single quote
C. Equal sign
D. Underscore
A. 07-04-2013
B. 7-4-2013
C. 7/4/2013
D. 07/04/2013
A. Option Explicit
B. Option Variables
C. Option Implicit
D. Option Declare
A. False
B. True
A. True
B. False
A. Goto
B. Next
C. On Error Resume
D. On Error Resume Next
A. Show developer tab in the Ribbon
B. Show mini toolbar on selection
C. Show visual basic options menu
D. Show macro code settings
A. Date
B. Integer
C. VarChar
D. Long
E. String
A. Allowing the controls to be sorted alphabetically within the user form
B. ________ is a way to control the order in which the controls are selected using the TAB key.
C. Requireing the user to assign numbers to each control on the user form
D. Arranging the worksheets in an Excel workbook
A. Entry_Form.Appear
B. UserForm.Entry_Form.Run
C. UserForm.Load
D. Entry_Form.Show
A. F10
B. Alt+F11
C. Alt+Ctrl+F8
D. Alt+V
A. Err.Type
B. Err.Description
C. Err.Title
D. Err.Name
A. Sometimes
B. No
C. Yes
A. Sheets
B. Range
C. Selection
D. FontSize
A. Use the variable anywhere in Excel
B. Use the variable as a named range in Excel
C. Use the variable only within the module in which the variable was declared
D. Use the variable anywhere in the project in which the variable was declared
A. User instructions and Excel functions
B. Computer code that performs some actions on or with objects
C. Macro instructions that direct the user application and provide help to the user
D. Excel functions
A. control where the output of selected item should go
B. define the list of items, from a range of cells, to appear in a drop-down list
C. have only one item in the drop-down list
D. restrict which row of cells can be the source of input items for the drop-down list
A. Click
B. Calculate
C. Change
D. Activate
A. 1
B. 9
C. -1
D. 45
A. F5
B. Alt+F5
C. F8
D. Ctrl+F8
A. (none of these)
B. ByRef
C. ByUpdate
D. ByChange
A. Properties window
B. Code window
C. Immediate window
D. Explorer Window
A. For i = 1 to 21
B. For i = 2 to 40
C. For i = 2 to 22
D. For i = 2 to 40 Step 2
A. variant
B. integer
A. a as Double, b as Single
B. a as Single; b as Single
C. a as Double; b as Double
D. a as Variant; b as Single
A. Class Module
B. Module
C. UserForm
D. Procedure
A. Cell.Color
B. Font.Color
C. FontColor
D. CellColor
A. IPmt
B. Exp
C. Sqr
D. Val
A. Allows operation system to process other events
B. Runs all events (built-in or custom) in a vb project
C. Declare a new event that can be fired from code
D. Runs all Excel events in a vb project
A. Wait
B. Goto
C. DoEvents
D. Continue
A. Add a new worksheet
B. Open a workbook
C. (all of these will NOT cause a macro to run in Excel)
D. Click on a picture
A. Activate will always run when showing a user form whereas Initialize will only run when showing a user form that has not been stored in memory.
B. There are no differences. Both are run whenever a user form is shown.
C. There are differences only if Option Explicit is stated.
D. Initialize will always run when showing a user form whereas Activate will only run when showing a user form that has not been stored in memory.
A. Range("A1").Comment.Text("My Comment")
B. Range("A1").Comment("My Comment")
C. Range("A1") = "My Comment"
D. Range("A1").Text("My Comment")
A. y = x - 5 If x > 5
B. If x > 5 Then y = x - 5
C. If x > 5, y = x - 5
D. If x > 5 Then y = x - 5 End If
A. Me.Label3.Value = "Hello"
B. Me.Label3.Caption = "Hello"
C. Me.Label3 = "Hello"
D. Me.Label3.Text = "Hello"