power point shaperange....

Joined
Oct 2, 2012
Messages
1
Reaction score
0
Hi all, I have an small code and I am trying to understand:

ws.LoadChart CHT_GAUGE, strProject, strPeriod

With m_pptApp.ActiveWindow
.View.Paste
With .Selection.ShapeRange
.IncrementLeft -180
.IncrementTop -108
End With
.Selection.Unselect
.Activate
End With

Does the fucntion above just copy and paste the object or does it resize it?

Does the IncrementLeft -180 and top is indent for the slide?

The problem I am having is that somereason this code (this is part of the code...) that was working fine with in Office 2003/2007 but now I am having problem in Office 2010. The pasted chart is too big to fit on the slide and you have to resize it. Is there code missing in this or something that I need to add because of the upgrade to Office 2010? 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