Need a macro or something for naming and X & Y co-ordinates for shapes in Powerpoint

T

Tyron

Need a macro or something for naming and X & Y co-ordinates for shapes
and objects in Powerpoint, preferably at the same time
 
D

David M. Marcovitz

For naming shapes, check out example 8.7 at my site:

http://www.loyola.edu/education/PowerfulPowerPoint/

Click on "Examples by Chapter" and "Chapter 8" to find it. For the X and Y
coordinates, you can add something like this:

MsgBox "The X Coordinate is " & ActiveWindow.Selection.ShapeRange.Left
MsgBox "The Y Coordinate is " & ActiveWindow.Selection.ShapeRange.Top

Of course, this is all designed to work in Normal view, so it would be
different if you want it to work in Slide Show View.

--David

David Marcovitz
Microsoft PowerPoint MVP
Author o f _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
T

Tyron

I need the macro to do the following
1. when a shape is selected it shows current name and x&y co-ordinates
2. Give option to change the above to new name and new value

Cheers

Thanks for all your help
 

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