Occurs when a folder is opened or closed within a file-selection dialog.
The event applies to the following components:
OnFolderChange event occurs upon changing a directory whose contents are displayed in the dialog. This can happen when the user double-clicks on a directory, clicks the Up One Level or Go To Last Folder Visited buttons at the top of the dialog, clicks on the places bar item, or uses the list box at the top of the dialog to navigate through the directory structure. You can create an event handler for this event to perform specific actions when the current folder changes.
For more information on how to create event handlers for user form components, see Handling Events in User Forms.
The event has the following parameter:
When the folder is changed, events occur in the following order: