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

Folder Object

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

Description Provides access to all the properties of a folder. Remarks The following code illustrates how to obtain a Folder object and how to return one of its properties:

Sub ShowFolderInfo(folderspec)
    Dim fs, f, s,
    Set fs = CreateObject("Scripting.FileSystemObject")
    Set f = fs.GetFolder(folderspec)
    s = f.DateCreated
    MsgBox s
End Sub
© 2018 Microsoft