Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
51 lines (29 loc) · 884 Bytes

groupshapes-item-method-publisher.md

File metadata and controls

51 lines (29 loc) · 884 Bytes
title keywords f1_keywords ms.prod api_name ms.assetid ms.date
GroupShapes.Item Method (Publisher)
vbapb10.chm3342336
vbapb10.chm3342336
publisher
Publisher.GroupShapes.Item
d0e2f8a6-6529-a274-410b-744c2bb55774
06/08/2017

GroupShapes.Item Method (Publisher)

Returns an individual object in a specified collection.

Syntax

expression. Item( Index)

_expression_A variable that represents a GroupShapes 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)