pulldown keeps pulling down?

STEEL010

Board Regular
Joined
Dec 29, 2017
Messages
76
Hi There,

I have an google pulldown menu that works fine, but when I select an other cell I keeps pulling down?
hereby my code, what am I doing wrong?

Private Sub ComboBox_Change()
ComboBox.DropDown
If Range("B5").Value <> "" Then
Range("B6").Value = Evaluate("=VLookup(B5,SEARCH, 7, 0)")
Else
On Error Resume Next
Range("B6").ClearContents

End If
End Sub

Greetings,
Steel010
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
A "Google" pull-down menu?
Is this a "Google sheets" project or an Excel one?
 
Upvote 0
Can you explain to us exactly how you created this "Google" drop-down?
Is it a Form control or ActiveX control?
 
Upvote 0
Hi Joe4,

sorry for the late response, but its in fact an ActiveX control combo box. but in a way you do a search like you do in "google" nothing more then that. YouTube is full of it.
Have you ever heart like a problem I have?
 
Upvote 0
Unfortunately, I don't really use any ActiveX controls, other than the occasional calendar.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top