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...
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")...
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.