Here's the significant code. The ArrayOfLines contains all the names of the
individual lines:
ActiveDocument.Shapes.Range(ArrayOfLines).Select
GraphGroup = Selection.ShapeRange.Group.name
Have you tried collapsing the selection?
--
Cheers
macropod
[Microsoft MVP - Word]
"MathTeacher" <MathT...@discussions.microsoft.com> wrote in message news:CA08F536-5F8B-496F...@microsoft.com...
I have managed to get the handles to release, but in a brute force way, by
selecting another shape already on the document.
ActiveDocument.Shapes.Range(GridGroup).Select 'try to get the shape handles
to release
Selection.Collapse
This has been working consistently, but it sure doesn't seem very elegant,
and if I need to release the handles but don't have another shape to select,
I'm afraid I might be dead in the water.
I'd still like to find a better way to release those shape handles.
"macropod" wrote:
> .
>
Once the sub that creates the grouped lines finishes, my userform has a
command button that calls a sub to "nudge" all the shapes up by a few pixels
using .IncrementTop -- when I do this, the handles disappear. If I make a
call to the sub that does the increment from WITHIN the sub that creates the
grouped lines, however, the handles don't disappear. The nudge up only works
after I have finished the sub doing the creating.
Maybe you have another suggestion, but in the meantime I'm going to strip
down the code to some bare basics to see if I can get a better "handle" on
this problem.