Programming With Vba Set 3


Which function extracts the first 5 characters from a string in VBA?
  
    (A) Right(str,5)
    (B) Left(str,5)
    (C) Mid(str,5)
    (D) Substr(str,5)

Left(str,5)

Which color of dot indicate the breakpoint in VBA?
  
    (A) Grey
    (B) Yellow
    (C) Maroon
    (D) Red

Red

Which shortcut key is used to set the properties of form while designing?
  
    (A) F4
    (B) Ctrl + F4
    (C) Alt + F4
    (D) Shift + F4

F4

Which shortcut key is used to open code window in VBA?
  

    (A) F7
    (B) Alt + F7
    (C) Ctrl + F7
    (D) Shift + F7

F7

Which code is used to display a user form in VBA?
  
    (A) Load user Form1
    (B) User Form1.Show
    (C) User Form1.Show False
    (D) User Form1.Load

User Form1.Show