NameSpace.PickFolder Method (Outlook)


Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Displays the Pick Folder dialog box.

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.

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.

© 2015 Microsoft