输入文件的后端(错误 62)

不可阅读超过文件尾的位置。 此错误具有以下原因和解决方案:

  • An Input # or Line Input # statement is reading from a file in which all data has been read or from an empty file. Use the EOF function immediately before the Input # statement to detect the end of file.

  • You used the EOF function with a file opened for Binary access. EOF only works with files opened for sequential Input access. Use Seek and Loc with files opened for Binary access.

有关其他信息,选择有问题的项并按 F1(在 Windows 中)或 HELP(在 Macintosh 上)。

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。