It means you tried to read a record but there was no record to read. This occurs when you try to read a record on an empty file (ie. the file has no records) or you have already read all the records and then you try to read another. If you want to avoid the error message just put On Error Resume Next before the Text1.Text = Input$(LOF(hfile), hfile) line and then after that line put an If Err Then....Else....End If clause. I think another way is to check the LOF before you attempt to read (after the Open and before the Input lines): If LOF(hfile) = 0 Then.....