| Name | Type | Description |
|---|---|---|
| Name |
String
|
|
| Type | Specifies the shape by type. |
|
| StaticID |
Long
|
Specifies the unique ID of the shape. |
| Recursive |
Boolean
|
Specifies whether to iterate through all shapes. |
| Query |
String
|
Sub Test() Dim s As Shape Set s = ActivePage.FindShape(Name:="Frame", Type:=cdrRectangleShape) If s Is Nothing Then MsgBox "The rectange 'Frame' cannot be found on page " & ActivePage.Index Else s.CreateSelection End If End Sub