If there is an independent Outline with no "Fill" color assigned. The code below crashes CorelDraw.
It works as long as a "Fill" color is assigned.
Seems as if it needs the Fill to consider it a shape?
What am I missing?
Sub outlineObjectTest()
Dim s As Shape Dim sr As ShapeRange Set sr = ActiveSelectionRange For Each s In sr.Shapes s.Outline.ConvertToObject Next s
End Sub
SkippurV said:The code below crashes CorelDraw.
Which version of CorelDRAW are you using?