Path/File 访问错误(错误 75)Path/File access error (Error 75)

在文件访问或磁盘访问操作(例如, OpenMkDirChDirRmDir )期间,操作系统无法在路径和文件名之间建立连接。During a file-access or disk-access operation, for example, Open, MkDir, ChDir, or RmDir, the operating system couldn't make a connection between the path and the file name. 此错误具有以下原因和解决方法:This error has the following causes and solutions:

  • 未正确设置文件指定的格式。The file specification isn't correctly formatted. 文件名可包含完全限定(绝对)路径或相对路径。A file name can contain a fully qualified (absolute) or relative path. 完全限定路径以驱动器名称开头(如果该路径位于其他驱动器上),并列出从根到文件的显式路径。A fully qualified path starts with the drive name (if the path is on another drive) and lists the explicit path from the root to the file. 任何未完全限定的路径与当前驱动器和目录是相对的。Any path that isn't fully qualified is relative to the current drive and directory.

  • 您尝试保存将替换现有只读文件的文件。You attempted to save a file that would replace an existing read-only file. 更改目标文件的只读属性或使用其他文件名保存该文件。Change the read-only attribute of the target file or save the file with a different file name.

  • 尝试在顺序 OutputAppend 模式中打开只读文件。You attempted to open a read-only file in sequential Output or Append mode. Input 模式中打开文件或更改文件的只读属性。Open the file in Input mode or change the read-only attribute of the file.

  • 尝试更改数据库或文档中的 Visual Basic 项目。You attempted to change a Visual Basic project within a database or document. 无法对项目进行设计更改。You can't make design changes to the project.

有关其他信息,选择有问题的项并按 F1(在 Windows 中)或 HELP(在 Macintosh 上)。For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.