What class is TextFrame.Parent?

D

David Thielen

Turns out it's a ShapeRange - any idea why?

thanks - dave


I have a case where it is a COM object but throws an exception when I
try to case it to a Shape. This is in a plain old text box.

??? - thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
S

Shyam Pillai

David,
How are you accessing the TextFrame object?

?TypeName(activewindow.Selection.ShapeRange.TextFrame.Parent)
ShapeRange

?Typename(activepresentation.Slides(1).Shapes(1).TextFrame.Parent)
Shape

Regards,
Shyam Pillai

Animation Carbon: http://www.animationcarbon.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top