PPT97: Incorrect Code Recorded Changing Fonts in Grouped Object
Article ID: 157375
Article Last Modified on 10/11/2006
APPLIES TO
- Microsoft PowerPoint 97 Standard Edition
This article was previously published under Q157375
SYMPTOMS
You may get the following error message when running a macro that was
recorded to change the text attributes of a selected object:
TextFrame (unknown member): Invalid request. This type
of shape cannot have a TextRange.
CAUSE
This occurs because you have selected multiple objects that are grouped.
The macro tries to change the text range of the group shape, which is not
a valid request within PowerPoint.
WORKAROUND
If you ungroup your objects, you can run the macro separately for each
object containing text, or you can manually change the text attributes by
selecting the text and applying the changes.
STATUS
Microsoft is researching this problem and will post new information here
in the Microsoft Knowledge Base as it becomes available.
Additional query words: 97 8.00 macro grouped font
Keywords: kberrmsg kbprogramming KB157375