Re: AutoShape Identification
- From: "David M. Marcovitz" <marcoNOSPAM@xxxxxxxxxx>
- Date: Mon, 05 Mar 2007 12:51:08 -0800
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)?
.
- References:
- Re: AutoShape Identification
- From: David M. Marcovitz
- Re: AutoShape Identification
- Prev by Date: Re: One-word text emphasis
- Next by Date: Re: Macro for sending message via email
- Previous by thread: Re: AutoShape Identification
- Next by thread: Re: Importing Web Page
- Index(es):
Relevant Pages
|