
Signature
Regards,
Shyam Pillai
Animation Carbon
http://www.animationcarbon.com
>I am trying to change color properties of a selected item in a group.
>Having
[quoted text clipped - 5 lines]
>
> Any ideas? Thank you ahead of time!
Shyam, thank you! So simple!
Your code made available elsewhere has been a great help to me in trying to
get a measure of control over PowerPoint.
Thank you very much again!

Signature
+
( )
__ | __ | __
Greetings from Moscow, Russia
> Use:
>
[quoted text clipped - 11 lines]
> >
> > Any ideas? Thank you ahead of time!
Shyam,
Your code works only if the whole object in a group is selected. However, if
the cursor is inside that object, HasChildShapeRange condition is not met.
Why is that? And more importantly, what to do in this case? Thank you.

Signature
+
( )
__ | __ | __
Greetings from Moscow, Russia
> Use:
>
[quoted text clipped - 11 lines]
> >
> > Any ideas? Thank you ahead of time!
Steve Rindsberg - 11 Nov 2006 04:14 GMT
> Shyam,
> Your code works only if the whole object in a group is selected. However, if
> the cursor is inside that object, HasChildShapeRange condition is not met.
> Why is that? And more importantly, what to do in this case? Thank you.
If ActiveWindow.Selection.Type = ppSelectionText Then
' the cursor is in a text frame/text is selected
Debug.Print ActiveWindow.Selection.TextRange.Parent.Parent.Name
End If
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================