选定所有形状(在 Shapes 集合中)或所有图示节点(在 DiagramNodes 或 DiagramNodeChildren 集合中)。
expression.SelectAll
expression 必选。该表达式返回“应用于”列表中的对象之一。
本示例选择 myDocument 中的所有形状。
Set myDocument = ActivePresentation.Slides(1) myDocument.Shapes.SelectAll