There is no way to simply "remove" any line from a text file - you'll have to re-write your file. So, open it For Input, loop through each line (LIne Input ...) untill EOF (end of a file), find the one you need and populate textbox. To determine file size use FileLen() function.