## Selection.Count

### Description

Returns the number (as a Long) of objects in the Selection.

### C# Syntax

    // get accessor

    Int32 rtn = Selection.Count;

### Examples

#### VBScript Example

    ' This example displays the number of objects in the Selection

    SelectAll

    set oSelection = Application.Selection

    logmessage "Number of objects in the Selection : " & oSelection.Count