Document.ShapesRemoved event (Publisher)

Occurs when a shape is deleted from a publication.

Syntax

expression.ShapesRemoved

expression A variable that represents a Document object.

Example

This example displays a message whenever a shape is removed from the active publication. For this example to work, you must place this code into the ThisDocument module.

Private Sub Document_ShapesRemoved() 
 MsgBox "You just deleted one or more shapes." 
End Sub

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.