G
Guest
Hi I need to scan all of the shapes in a stencil, and obtain the shape
names. Not only the shape names I also need to obtain the names of the
subshape names (for the grouped shapes).
I can obtain the shape names with the following code. What is the best way
to obtain the subshape names? I think I should do this recursively...
Set objStencil = Application.Documents.OpenEx(strFilename, visOpenRO +
visOpenHidden)
For intCounter = 1 To objStencil.Masters.Count
Debug.Print " "; objStencil.Masters.Item(intCounter).Name
Next intCounter
Any help is appreciated!
names. Not only the shape names I also need to obtain the names of the
subshape names (for the grouped shapes).
I can obtain the shape names with the following code. What is the best way
to obtain the subshape names? I think I should do this recursively...
Set objStencil = Application.Documents.OpenEx(strFilename, visOpenRO +
visOpenHidden)
For intCounter = 1 To objStencil.Masters.Count
Debug.Print " "; objStencil.Masters.Item(intCounter).Name
Next intCounter
Any help is appreciated!