API Documentation > CorelDRAW > 2025-v26 > ShapeRange > IVGShapeRange
ShapeRange.AllExcluding method
Creates a new shape range out of all the shapes in the current range except the specified list of shapes
Syntax:
Function AllExcluding(ByRef ParamArray IndexArray() As Variant) As ShapeRange
Parameters:
Name Type Description
IndexArray
Variant
Remarks:
The AllExcluding method creates a new shape range from all the shapes in the current range, except for the specified shapes.