determining slide number and object/shape number

C

Candace

I'm using PPT 2007. I need to verify that I am referencing shapes and slides
by their correct number in my vba code. For the slide number, I am looking at
the slide number listed in the status bar in normal view of the slideshow.
For the shapes, I am looking at the number listed in the custom animation
pane for that shape or action button. Is this correct? I think I might be
using the wrong numbers in code, because I'm getting a message that says:
"Shapes(unknown member): Integer out of range. 15 is not in the valid range
of 1 to 13."
 
D

David M. Marcovitz

In the old versions, it was a pain to figure out the numbers, and it
required code to figure out or change the names (such as Example 8.7 on
my site). This is one nice new features in 2007.
--David
 
S

Shyam Pillai

Candace,
FYI: PPT 2007 Z-Orderposition property has a bug.

If a slide has 2 shapes, the 1st being - a group containing 2 autoshapes
then the z-order position of the 2nd shape on the slide in PPT 2003 is 2 but
in PPT 2007 it is 3. Now, it would be fine if PPT 2007 handled this change.
But it does not, so now if you attempt to get reference to the 2nd shape
using the z-order value returned it will throw an error.

Regards,
Shyam Pillai

Image Importer Wizard
http://skp.mvps.org/iiw.htm
 

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