Selection Property [Document]

The Selection property returns the current selection. Returns an AutoSelection collection.

Syntax

object.Selection

object.Selection =Selection

Example 1

This example demonstrates how to return the number of objects selected.

Debug.Print Plot.Selection.Count

Example 2

This example demonstrates how to cut multiple objects from the graph.

Plot.Selection.Cut

 

Used by: Document object