Selected Property

The Selected property returns or sets the selection state of a shape. Returns a Boolean.

Syntax

object.Selected

object.Selected = Selected

 

Parameter Type Description
Selected Boolean required

 

Example

This example shows how to return the selection state of an ellipse.

Debug.Print Ellipse.selected

 

Used by: AutoShape object