Item Property (Areas Collection)
Applies To
Areas collection object.
Description
Returns a single Range object from an Areas collection.
Syntax
expression.Item(Index)
expression Required. An expression that returns an Areas object.
Index Required Long. The index number of the range.
Example
This example clears the first area in the current selection if the selection contains more than one area.
If Selection.Areas.Count <> 1 Then
Selection.Areas.Item(1).Clear
End If