Re: AutoShape Identification



Interesing. The custom animation number seems to count each member of a
group separately and does not match up with the shape number. So, I guess
my advice applies to slides without groups.

I agree that shape names are best. However, the original poster was
working with existing code and trying to match up shape numbers used in
the code to the actual shapes, so names wouldn't help unless he could go
back in time and get the original coder to use names instead of numbers.

Also, this little VBA routine will cycle through each shape on slide 1
and select a shape and give its number.

Sub TellMeNumbers()
Dim i As Long
For i = 1 To ActivePresentation.Slides(1).Shapes.Count
ActivePresentation.Slides(1).Shapes(i).Select
MsgBox i
Next i
End Sub

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

=?Utf-8?B?Sm9obiBXaWxzb24=?= <john AT technologytrish.co DOT uk> wrote
in news:0D9FDF86-DBC2-4384-A99B-5629B3E09457@xxxxxxxxxxxxx:

I know that we've discussed naming being the best way to go before and
it is!! I've often used the custom show method too to deduce
slides(nn) but it failed on me recently.

Try this - add an org chart and then a rectangle to a text & title
slide. Animate the rectangle and look at its "number". Is it really
shapes(12)?

.



Relevant Pages

  • Re: Making A text box equal another
    ... Director of Graduate Programs in Educational Technology ... > I have two text boxes on a slide. ... The other text box (Rectangle 21), is on the horizontal axis, ...
    (microsoft.public.powerpoint)
  • Re: custom animation
    ... I don't think you could do this without VBA. ... Director of Graduate Programs in Educational Technology ... global change to a custom animation on every slide. ...
    (microsoft.public.powerpoint)
  • Re: powerpoint slides
    ... the answer and choosing Custom Animation from the Slide Show menu. ... are using PowerPoint 2002 or above, ... Director of Graduate Programs in Educational Technology ... One the slide, I have a question and answer, how do I only reveal the ...
    (microsoft.public.powerpoint)
  • Re: Help! Custom Animation Nightmare!
    ... Edit-Cut the group you want to edit, paste it to a new slide, edit on ... I lose the custom animation. ... > days animating this show, redrawing sixty custom paths, redoing all ...
    (microsoft.public.powerpoint)
  • RE: Sound cuts out
    ... selected the blank rectangular button - inserted it next to the slide. ... Set an Emphasis Custom Animation to Change ... We now have a problem with some of the sound files. ... Initially the PP was linked to the .wav files on the local computer. ...
    (microsoft.public.powerpoint)