DropDown

<< Click to Display Table of Contents >>

 

DropDown

DropDown()

This method opens a list of items from a Combo. Calling this method has the same effect as clicking, at run time, the object's right side button. Example:

Sub CommandButton1_Click()
  Dim ComboBox1
  ComboBox1.AddItem "Pineapple"
  ComboBox1.AddItem "Strawberry"
  ComboBox1.AddItem "Grape"
  ComboBox1.AddItem "Orange"
  ComboBox1.DropDown()
End Sub

Was this page useful?