Code: Select all
For T = 0 To UBound(strDBRows3, 2)
If Me.Text8.Text = strDBRows3(0, T) Then
NOME_MATR = " " & strDBRows3(1, T)
Me.LAB_MATR.Caption = NOME_MATR
Exit For
End If
Next T
is possible to find in "one shot only" instead?