Code: Select all
If Mid$(TextOfLine, 1, 3) = "AGG " Then
Try changing the above line to
Code: Select all
If TextOfLine Like "*AGG*" Then
Code: Select all
If Mid$(TextOfLine, 1, 3) = "AGG " Then
Code: Select all
If TextOfLine Like "*AGG*" Then