Sub RevertPowerClipToShape() ActiveDocument.ReferencePoint = cdrCenter
Dim OrigSelection As ShapeRange Set OrigSelection = ActiveSelectionRange
Dim s As Shape
If ActiveSelectionRange.Count = 0 Then MsgBox "No shapes selected" Exit Sub Else For Each s In OrigSelection s.PowerClip.Shapes.All.Delete Next s End IfEnd Sub
this macro deletes the contents and keeps the container.Can someone change to do it the other way around please
sir this code delete the box but if we have color on the box it also get deleted. what if we need the box with color and it only extract the content1. in all powerclips of the document 2. it also crop outside area of the box as well for corel x6. example file is in the below linkwetransfer.com/.../6830ce