Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 987 Bytes

Publisher.ShapeRange.Item.md

File metadata and controls

48 lines (30 loc) · 987 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ShapeRange.Item method (Publisher)
vbapb10.chm2293760
vbapb10.chm2293760
Publisher.ShapeRange.Item
f316bbac-b0be-0281-585b-c32dcb709b66
06/14/2019
medium

ShapeRange.Item method (Publisher)

Returns an individual object in a specified collection.

Syntax

expression.Item (Index)

expression A variable that represents a ShapeRange object.

Parameters

Name Required/Optional Data type Description
Index Required Variant The 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)

[!includeSupport and feedback]