Application.BeforeFolderSharingDialog Event (Outlook)

Occurs before the Sharing dialog box is displayed for a selected Folder object.

Version Added: Outlook 2007

expression .BeforeFolderSharingDialog(FolderToShare, Cancel)

expression An expression that returns a Application object.

Parameters

Name

Required/Optional

Data Type

Description

FolderToShare

Required

Folder

The Folder object to be shared.

Cancel

Required

Boolean

(Not used in VBScript). False when the event occurs. If the event procedure sets this argument to True, the dialog box is not displayed.

This event provides an add-in with the capability of replacing the sharing user interface supplied by Outlook with a custom user interface. This event does not occur if a sharing message is programmatically created and displayed.

Community Additions

ADD
Show:
© 2014 Microsoft