sindhu2352
03-08-2017, 10:43 PM
im trying to cut data from text frame and paste it outside textframe, following code works but it do not paste outside on parent place/index of textframe
Sub fromtxtbox()
For Each s In ActiveDocument.Shapes
s.TextFrame.TextRange.Cut
Selection.PasteAndFormat (wdFormatOriginalFormatting)
Next
End Sub
Sub fromtxtbox()
For Each s In ActiveDocument.Shapes
s.TextFrame.TextRange.Cut
Selection.PasteAndFormat (wdFormatOriginalFormatting)
Next
End Sub