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

GetFolder Method

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

Description Returns a Folder object corresponding to the folder in a specified path. Syntaxobject. GetFolder(folderspec) The GetFolder method syntax has these parts:

PartDescription
objectRequired. Always the name of a FileSystemObject.
folderspecRequired. The folderspec is the path (absolute or relative) to a specific folder.

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

© 2018 Microsoft