CurrentFolder Property

Applies To

Explorer object.

Description

Returns or sets a MAPIFolder object that represents the current folder displayed in the explorer. Use this property to change the folder the user is viewing. Read/write MAPIFolder.

Example

This example changes the displayed folder to the user's Calendar folder.

Set myOlApp.ActiveExplorer.CurrentFolder = _
    olNameSpace.GetDefaultFolder(olFolderCalendar)