Retaining slide formatting while copying using VBA

B

Barb Reinhardt

I have the following snippet of code.

For i = 1 To oPPS.Slides.Count
With oPPS.Slides(i)
For j = 1 To .Shapes.Count
If .Shapes(j).AlternativeText Like "*MATCH TEXT*" Then
.Copy
aPPS.Slides.Paste
End If
Next j
End With
Next i


It's copying the information I want, but not with the source formatting.
What I want to do is retain the formatting of the oPPS slide in the aPPS
slide. What do I need to do?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top