M
MathTeacher
using Word 2000 on Vista;
Within VBA I plot a function by creating many (about 200) very short
straight lines to simulate the curved graph. I group the lines, then show
another userform, but the shape handles are still on all the short lines. If
I close the userform the handles disappear (and the lines are grouped), but I
need the handles to disappear with the userform still on the screen.
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
Within VBA I plot a function by creating many (about 200) very short
straight lines to simulate the curved graph. I group the lines, then show
another userform, but the shape handles are still on all the short lines. If
I close the userform the handles disappear (and the lines are grouped), but I
need the handles to disappear with the userform still on the screen.
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