Filtrar datos de acces mientas se escribe en textbox en excel


Tengo un formulario en excel en el cual al ingresar datos a un textbox filtra el dato a un listbox
estos datos los trae desde acces quiero sabes si es posible(y como hacerlo) filtrar cuando voy escribiendo en el textbox y que aparezcan todas las coincidencias en el listbox
espero darme a entender entender
de antemano agradezco cualquier dato, ayuda o consejo

rivate Sub txt_BProductos_Change()
On Error Resume Next
Call Comenzar_Macro
Call Conectar_Base
Set RsProductos = New ADODB.Recordset
With RsProductos
If Me.txt_BProductos.Text <> "" Then
    Me.ltb_BuscarC.Clear
    If .State = 1 Then .Close
.Source = "select * from Tb_productos where Producto='" & txt_BProductos & "'"
.Open , conex, adOpenStatic, adLockOptimistic
End If
If Not .EOF Then
Me.ltb_BuscarC.AddItem .Fields(0).Value
Me.ltb_BuscarC.List(0, 1) = .Fields(1)
Me.ltb_BuscarC.List(0, 2) = .Fields(2)
Me.ltb_BuscarC.List(0, 3) = .Fields(3)
Me.ltb_BuscarC.List(0, 4) = .Fields(4)
Me.ltb_BuscarC.List(0, 5) = .Fields(5)
End If
.Close
End With
Call Desconectar_base
Call Cerrar_Productos
Set RsProductos = Nothing
End Sub

Añade tu respuesta

Haz clic para o