Cheers Greg, that does work OK. I'll have to Count that there are ANY of
each type in the selection before trying to select them - otherwise an error
occurs - but that will work OK.
Your solution is obvious when I see it - I was assuming that InlineShapes
and ShapeRanges would be children of some parent "all graphics" object but
apparently not.
Eddie
Eddie,
Yes your right. I tested on a simple document containing exactly 2
shapes, one inline and one in the drawing layer, and switched them
around.
There may be a more direct approach to this. I will be the first to
admit that I am not very familiar with working with graphics and
shapes.
Glad I could help.
> Cheers Greg, that does work OK. I'll have to Count that there are ANY of
> each type in the selection before trying to select them - otherwise an error
[quoted text clipped - 72 lines]
>
> - Show quoted text -
Tony Jollans - 21 Mar 2007 00:52 GMT
A small word of warning here: you need to be clear about what you want to
select. Shapes (not InlineShapes) will be included in the Selection if their
*anchor* is within the selection, wherever they happen to be actually
positioned.

Signature
Enjoy,
Tony
> Eddie,
>
[quoted text clipped - 92 lines]
>>
>> - Show quoted text -
Edward Thrashcort - 21 Mar 2007 13:58 GMT
Yes Tony I've just discovered that a Shape's Range is located at its anchor
point and although it may appear to be included in the current selection, if
it's anchor point is outside, then its not!
If the only thing that is in the selection is a shape, then I've decided to
put out a message recommending that it be converted to inline.
Eddie