View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Peter T Peter T is offline
external usenet poster
 
Posts: 5,600
Default text in shape group

Hi pshen

The only way I have ever been able to change text in a group item shape is
first to ungroup. Change the text then regroup.

Regards,
Peter T


"pshen" wrote in message
...
Please help:

I grouped several shapes into a group, which contains a label. I want to
use this group shape as a template to dynamically duplicate it and assign

a
different text to the label item inside the group shape.

for example, "Gshape" is group shape contains a label, a circle and a
rectangle.

the following will cause error:
Gshape.groupitems(1).TextFrame.Characters.Text = "new text"
(assuming item 1 is the label, this is known when you group the shapes)

Thanks.


--
pshen