路徑/檔案存取錯誤 (錯誤 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.

  • 您嘗試以順序輸出附加模式開啟唯讀檔案。You attempted to open a read-only file in sequential Output or Append mode. 輸入模式中開啟檔案,或變更檔案的唯讀屬性。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.