Export (0) Print
Expand All

Input past end of file

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

To correct this error

  • Use the EOF function immediately before the Input statement to detect the end of the file.
  • If the file is opened for binary access, use Seek and Loc.

See Also

Accessing Files with FileSystemObject | Input Function | EOF Function | Seek Function | Loc Function

Show:
© 2014 Microsoft