Solved

Using Transfer-XL-To-PPT Macro and needs some changes

Posted on 2011-09-09
5
268 Views
Last Modified: 2012-05-12
Hi guys,

Some one was nice enough to provide me with the Transfer-XL-To-PPT Macro but I need to make some changes and it also seems to give weird error messages.  So what i need is to be able to put the position in ppt where the graph will go and also the height and width of the graph.  I have a current presentation so I need to know how to tell what the graphs are already set at so I can match that. I appreciate any help that you can provide.  I am attaching the macro.

==========
Prior related question: http:/Q_27300337.html
Transfer-XL-to-PPT.xls
0
Comment
Question by:montrof
  • 3
5 Comments
 
LVL 23

Accepted Solution

by:
JSRWilson earned 500 total points
ID: 36517033
The Top Left Height and Width of a shape are measured in POINTS
72 points = 1 inch

If you need the height and width of the slide

MsgBox ActivePresentation.PageSetUp.SlideWidth
MsgBox ActivePresentation.PageSetUp.SlideHeight

Both in Points
0
 
LVL 1

Author Comment

by:montrof
ID: 36519686
I need the information like width height position of the images or shapes on each slide.
0
 
LVL 1

Author Closing Comment

by:montrof
ID: 36524334
the calculation is all i needed thanks so much
0
 
LVL 1

Author Comment

by:montrof
ID: 37941563
So i was wondering if you could help with an issue when ever the sizes are inserted the Height is being set and then the width is being scaled because the lock aspect ratio is checked.  I tried to edit the function Function CopyRangeToPPT so that lockaspectratio = msofalse but this does not seem to be working.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now