A family of Microsoft relational database management systems designed for ease of use.
I suppose you could do this with a combination of Line Input# and Print#?
That wouldn't really modify the original text file, but you could copy the lines that you would like to keep, (based on the criteria that you specify) and output the data to a new text file.
https://msdn.microsoft.com/en-us/library/office/gg264130.aspx
Data read with Line Input # is usually written from a file with Print #.
The Line Input # statement reads from a file one character at a time until it encounters a carriage return (Chr(13)) or carriage return–linefeed (Chr(13) + Chr(10)) sequence. Carriage return–linefeed sequences are skipped rather than appended to the character string.
=======================================
Something like this?
(Warning: "Aircode")
IF this text file is ALWAYS going to be 3 lines as you describe above:
Dim i As Integer
i=0
Dim TextLine
Open "Readfile" For Input As #1 ' Open file.Do While Not EOF(1) ' Loop until end of file. i = i + 1If i <> 2 Then 'You said you wanted to ship the second line
Line Input #1, TextLine ' Read line into variable.End IfOpen "WriteFile" For Output as #2Print# TextLineClose #2
Loop
Close #1 ' Close file.
Edit:
This might be worth a read as well?
http://software-solutions-online.com/2014/03/15/vba-modify-existing-text-file/