Hi
I have create a Form, I want to look up the correspondence values in column B, C, D in sheet 1 and display these values in the matching textboxes of the form which are; Account Name & Standing Instruction details, after I input the account no and the currency into the form. I have attached the form and data.
How to modify this code to do what I want :
Sub FindText()
Dim wks As Worksheet
Dim rngDataRange As Range
Dim rng As Range
Dim strFindText As String
Set wks = ThisWorkbook.Worksheets(“Sheet1”)
Set rngDataRange = wks.Range(“A:Z”)
strFindText = ” ”
For Each rng In rngDataRange
If rng.Text = strFindText Then
…..”what need to be change here to display the values in the ComboBox”
End If
Next rng
End Sub
Thanks in advance.