NameSpace.PickFolder Method (Outlook)

Displays the Pick Folder dialog box.

Syntax

expression. PickFolder

expression A variable that represents a NameSpace object.

Return value

A Folder object that represents the folder that the user selects in the dialog box, or Nothing if the dialog box is canceled by the user.

Remarks

The Pick Folder dialog box is a modal dialog box which means that code execution will not continue until the user either selects a folder or cancels the dialog box.

See also

NameSpace Object