Application.BeforeFolderSharingDialog event (Outlook)
Occurs before the Sharing dialog box is displayed for a selected Folder object.
expression An expression that returns an Application object.
|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.
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.