Sub Test()
Dim objFSO As Object
Dim objTF As Object
Dim strIn 'As String
Dim txt
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTF = objFSO.OpenTextFile("C:\VBAX\Bank.txt", 1)
strIn = objTF.readall
strt = InStr(1, strIn, "RECORDED INTERESTS AND INSTRUMENTS")
endd = InStr(1, strIn, "NON-ENABLING INSTRUMENTS")
txt = Mid(strIn, strt, endd - strt)
Do Until InStr(txt, " ") = 0 ' Loop until there are no more double spaces
txt = Replace(txt, " ", " ") ' Replace 2 spaces with 1 space
Loop
strIntHlder = Split(txt, "Interest Holder Name:")
For i = LBound(strIntHlder) To UBound(strIntHlder) - 1
Cells(i + 1, 1) = Trim(Split(Split(txt, "Interest Holder Name:")(i + 1), " " & vbCrLf)(0))
Next i
strDocRef = Split(txt, "Document Reference:")
For i = LBound(strDocRef) To UBound(strDocRef) - 1
Cells(i + 1, 2) = Split(Trim(Split(txt, "Document Reference:")(i + 1)), " ")(0)
Cells(i + 1, 3) = Split(Trim(Split(Trim(Split(txt, "Document Reference:")(i + 1)), vbCrLf)(0)), " ")(1)
Next i
Cells.Replace What:="Qualifier:", Replacement:="", LookAt:=xlPart
End Sub