Selection property
Returns a Selection object that represents what is presently selected in the window.
Version added
2.0
Syntax
| |
objRet |
A Selection object. |
object |
Required. An expression that returns a Window object. |
Remarks
The Selection object is independent of the selection in the window, which can subsequently change as a result of user actions.
A Selection object is a set of shapes in a common context on which you can perform actions. A Selection object is analogous to more than selected shapes in a drawing window. Once you retrieve a Selection object, you can change the set of shapes the object represents using the Select method.