Compartilhar via


Visual Basic for Applications Reference

File not found (Error 53)

Specifics

The file was not found where specified. This error has the following causes and solutions:

  • A statement, for example, Kill, Name, or Open, refers to a file that doesn't exist.

    Check the spelling of the file name and the path specification.

  • An attempt has been made to call a procedure in a dynamic-link library (DLL) or Macintosh code resource, but the library specified in the Lib clause of the Declare statement can't be found.

    Check the spelling of the file name and the path specification.

  • In the development environment, this error occurs if you attempt to open a project or load a text file that doesn't exist.

    Check the spelling of the project name or file name and the path specification.

For additional information, select the item in question and press F1.