Folders.FolderRemove Event
Outlook Developer Reference |
Occurs when a folder is removed from the specified Folders collection.
Syntax
expression.FolderRemove
expression A variable that represents a Folders object.
Remarks
This event is not available in Microsoft Visual Basic Scripting Edition (VBScript).
Example
The following Microsoft Visual Basic/Visual Basic for Applications (VBA) example displays a warning message when the user tries to a delete a folder in the Inbox. The sample code must be placed in a class module, and the Initialize_handler
routine must be called before the event procedure can be called by Microsoft Outlook.
Visual Basic for Applications |
---|
|
See Also