"Dean Earley" <dean.earley@icode.co.ukwrote in message
news:46dbe4cd$0$13935$fa0fcedb@news.zen.co.uk...
Quote:
Peter Webb wrote:
Quote:
>I have created two sets of circles using addshape, innercircle(i) and
>outercircle(i), and I want to group them in pairs so innercircle(1) and
>outercircle(1) are grouped, etc. I am supposed to be able to use the
>shapes.range(array()).group command to do this.
>>
>This works if I just stick numbers in at random, but I actually want to
>put in the index numbers for innercircle(i) and outercircle(i). I have
>tried everything I can think of.
>>
>How do I get the index value for a specific shape, like innercircle (1)
>or outercircle(2) ???
>
I guess you are referring to one of the Office apps as none of that is in
Visual Basic natively.
You may want to check one of the Office or vba groups under the
Microsoft.Public hierarchy.
>
Yeah ... I want to control powerpoint with Excel, drawing slides using
powerpoint.
I've got the graphics happening in Excel, but I want them on slides.
Now I have a different problem, which (I'm sorry I have nowhere else to
turn) is as follows.
I include the powerpoint class libraries, and they have their own shape
libraries, which are exactly the same except they draw on a slide. However,
I now have two subtly different classes, both called "shape". When I key in
Dim abc As Shape
I get two choices for "Shape", and I seem to have no idea which class I have
created. Is there some way to force it to use the class I want?