DeselectObject Method

Deselects the object.

Syntax

object.DeselectObject bDeselectAll

Properties

The DeselectObject method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

bDeselectAll

Boolean. If True, all items that were selected are deselected. If False, deselects the last selected object.

Remarks

Removes this object in its parent object's ContainedSelections collection as well as from the picture's SelectedShapes collection.

 

Example

Applies To