Again not sure..
Code:Private Sub ComboBox1_Change() Dim lngIndex As Long With Me.ComboBox1 lngIndex = .ListIndex If Not lngIndex = -1 Then [e1]= .List(lngIndex) End If End With End Sub
Again not sure..
Code:Private Sub ComboBox1_Change() Dim lngIndex As Long With Me.ComboBox1 lngIndex = .ListIndex If Not lngIndex = -1 Then [e1]= .List(lngIndex) End If End With End Sub
Cheers !
Excel Range to BBCode Table
Use Social Networking Tools If You Like the Answers !
Message to Cross Posters
@ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)
Hi :D
Thanks for your help, worked exactly how it should be.
Private Sub ComboBox1_Change()
And i set the rowsource to Scenario.. works perfect.. Is there also a way to display the current value on loading the userform in the combobox?Code:Dim lngIndex As Long With Me.ComboBox1 lngIndex = .ListIndex If Not lngIndex = -1 Then [DASHBOARD!C6]= .List(lngIndex) End If End With End Sub
Bookmarks