Now, I want to remove the string in the .txt file that the user used. This is to make it invalid for use.
Thanks to Tim Schmelter for the corrected code.
If .txt file.Contains(stN) Then
'Do anything here
'Then I want to remove the string used.
End If
See Question&Answers more detail:os