Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Input past end of file 

Either an Input statement is reading from a file that is empty or one in which all the data is used, or you used the EOF function with a file opened for binary access.

To correct this error

  1. Use the EOF function immediately before the Input statement to detect the end of the file.

  2. If the file is opened for binary access, use Seek and Loc.

See Also

Community Additions

© 2015 Microsoft