View Single Post
 
Old 03-25-2015, 05:09 AM
janism22 janism22 is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Mar 2015
Posts: 3
janism22 is on a distinguished road
Default VBA ppt ComboBox behaivor: 1.OnFocus change value 2. get dropdownlist doesn't disappear after mousec

2 questions VBA in powerpoint!


I have combobox and label. Depending which combobox index is selected, label shows text
  1. Can I select combobox item without mouse click but just dragging mouse on it?
at the moment I have this :


Private Sub
ComboBox1_Change()
If ComboBox1.ListIndex = 0
Then Label1.Caption = "1"
ElseIF
.....
End If
End Sub

2. Now If I select item in combobox, combobox list disappears.
Is there a option that this combobox doesn't disappear after mouseclick? that I don't have to press every time dropdownbutton and select next item.
Reply With Quote