Table of contents
TOC
Collapse the table of content
Expand the table of content

GetFile Method

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Description Returns a File object corresponding to the file in a specified path. Syntaxobject. GetFile(filespec) The GetFile method syntax has these parts:

PartDescription
objectRequired. Always the name of a FileSystemObject.
filespecRequired. The filespec is the path (absolute or relative) to a specific file.

Remarks An error occurs if the specified file does not exist.

© 2018 Microsoft