Article ID: 138823
Article Last Modified on 10/11/2006
E1: One
E2: Two
E3: Three
E4: Four
E5: Five
E1: One
E2: Two
E3: Three
E4: Four
E5: Five
Sub Control_on_Worksheet()
Dim mypick As Variant
With Worksheets("Sheet1").DropDowns("my control")
' Set the value of mypick to the index number
' of the item chosen in the drop-down.
mypick = .ListIndex
' Extract the actual item and put it into
' the active cell on the worksheet.
ActiveCell.Value = .List(mypick)
' Empty out the drop-down.
.Value = 0
End With
End Sub
Forms
Additional query words: 8.00 XL97 XL98 dropdown drop down XL
Keywords: kbdtacode kbhowto kbprogramming KB138823