B
Barb Reinhardt
I'd like to copy and paste a shape I'm calling myShape as a
ppPasteEnhancedMetafile on a slide I'm calling mySlide and then delete
myShape. I'm trying something like this:
For Each mySlide In aPPS.Slides
For Each myShape In mySlide.Shapes
If myShape.Type = 7 Then
myShape.Copy
Set newShape =
mySlide.Shapes.PasteSpecial(ppPasteEnhancedMetafile, _
msoFalse, , , , msoTrue) 'Stops here.
With newShape
.Top = myShape.Top
.Left = myShape.Left
.Height = myShape.Height
.Width = myShape.Width
End With
myShape.Delete
End If
Next myShape
Next mySlide
Can someone assist?
Thanks,
Barb Reinhardt
ppPasteEnhancedMetafile on a slide I'm calling mySlide and then delete
myShape. I'm trying something like this:
For Each mySlide In aPPS.Slides
For Each myShape In mySlide.Shapes
If myShape.Type = 7 Then
myShape.Copy
Set newShape =
mySlide.Shapes.PasteSpecial(ppPasteEnhancedMetafile, _
msoFalse, , , , msoTrue) 'Stops here.
With newShape
.Top = myShape.Top
.Left = myShape.Left
.Height = myShape.Height
.Width = myShape.Width
End With
myShape.Delete
End If
Next myShape
Next mySlide
Can someone assist?
Thanks,
Barb Reinhardt