Dim shuzuArr() As String
shuzuArr = Split(wenben, vbcrlf)
For i = 0 To UBound(shuzuArr)
If InStr(a, split(shuzuArr(i))(0)) Then
Text2.Text = Text2.Text & a & vbCrLf
End If
Next i
wenben = Text1.Text
Text2.Text = ""
d = Dir(File1.Path & "\*.txt")
Do While d <> ""
Open File1.Path & "\" & d For Input As #1
While Not EOF(1)
Line Input #1, a
Dim shuzuArr() As String
shuzuArr = Split(wenben, ",")
For i = 0 To UBound(shuzuArr)
If InStr(1, a, shuzuArr(i)) > 0 Then
Text2.Text = Text2.Text & a & vbCrLf
End If
Next i
Wend
Close #1
d = Dir
Loop