search listbox

  1. VBE313

    How do I search the next column over list index?

    Sub TextBox4_Change() sFind = Me.TextBox4.text If Len(sFind) = 0 Then Me.ListBox4.ListIndex = -1 Me.ListBox4.TopIndex = 0 Else For I = 0 To Me.ListBox4.ListCount - 1 If InStr(UCase(ListBox4.List(I)), UCase(sFind)) > 0 Then...
  2. S

    Search as you Type using TextBox and List Box

    Hi: I have created a list box in Excel VBA using the following code: **************************** Private Sub UserForm_Initialize() Dim RC, RC2 As Integer 'Selects the "Draft Sheet" worksheet Sheet1.Select Range("D2").Select RC = 2 Set menusheet = ThisWorkbook.Sheets("Draft Sheet")...

Watch MrExcel Video

This Week's Hot Topics

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
Top