View Single Post
 
Old 04-24-2012, 01:25 PM
JohnWilson JohnWilson is offline Windows 7 64bit Office 2010 32bit
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,913
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

You're welcome.

There's nothing wrong with your method for centering the shape and if you follow my stuff you'll know I keep saying selecting shapes in code is usually a bad idea!

It can help here though because you can say (if you had selected when you paste).

Code:
With ActiveWindow.Selection.ShapeRange
.Align msoAlignCenters, msoTrue
.Align msoAlignMiddles, msoTrue
End With
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote