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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.