Table of contents
TOC
Collapse the table of content
Expand the table of content

ShapeRange.Item Method (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns an individual object in a specified collection.

Syntax

expression. Item( Index)

_expression_A variable that represents a ShapeRange object.

Parameters

NameRequired/OptionalData TypeDescription
IndexRequiredVariantThe number or name of the field or list box item to return.

Return Value

Shape

Example

This example returns the first shape inside a grouped shape.

Dim shpTemp As Shape 

Set shpTemp = ActiveDocument.Pages(Index:=1) _ 
 .Shapes(1).GroupItems.Item(Index:=1)
© 2018 Microsoft