文件已打开(错误 55)
Sometimes a file must be closed before another Open or other operation can occur. This error has the following causes and solutions:
A sequential-output mode Open statement was executed for a file that is already open. You must close a file opened for one type of sequential access before opening it for another. For example, you must close a file opened for Input before opening it for Output.
A statement, for example, Kill, SetAttr, or Name, refers to an open file. Close the file before executing the statement.
有关其他信息,选择有问题的项并按 F1(在 Windows 中)或 HELP(在 Macintosh 上)。
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈