Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Returns a Long that represents the type of a shape, range of shapes, or property, type, or value of a wizard. Read-only.
Syntax
expression.ID
expression A variable that represents a Shape object.
Example
This example displays the type for each shape on the first page of the active publication.
Sub ShapeID()
Dim shp As Shape
For Each shp In ActiveDocument.Pages(1).Shapes
MsgBox shp.ID
Next shp
End Sub
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.