Sub clearlines()
Dim lineX As Integer
Dim mytext As String
Open "c:\File1.txt" For Input As #1
Open "c:\File2.txt" For Output As #2
lineX = 1
Do While Not EOF(1)
Line Input #1, mytext
If lineX >= 9 Then
Print #2, mytext
End If
lineX = lineX + 1
Loop
Close #1
Close #2
Kill "c:\File1.txt"
FileCopy "c:\File2.txt", "c:\File1.txt"
End Sub