maabadi
Well-known Member
- Joined
- Oct 22, 2012
- Messages
- 2,681
- Office Version
- 2019
- 2016
- Platform
- Windows
Hi
What is problem with this code
It show error: Run time error: "-2147352571 (80020005)":
Could not set the value property. Type mismatch
I don't define any code for combobox2 and when I click on it , Show error
thanks
What is problem with this code
It show error: Run time error: "-2147352571 (80020005)":
Could not set the value property. Type mismatch
Code:
Private Sub ComboBox1_AfterUpdate()
Dim ws As Worksheet
Set ws = Worksheets("Sheet2")
Me.ComboBox2.Value = Evaluate("VLOOKUP(""" & Me.ComboBox1.Value & """,'Sheet2'!B:C,2,FALSE)")
End Sub
I don't define any code for combobox2 and when I click on it , Show error
thanks