the code I needed was

If InputData = "" Then
InputData.DeleteLines
End If

But thank you very much for trying Sc0rp

Chris Davidsen