L
Lloyd Catlett
I've some VBA code (Word 2000 on Vista or Word 2003 on XP) that creates
hundreds of shapes (lines or ovals) used to plot graphs of functions. I
capture the shape names in an array, then use the array to group the shapes
using code similar to the following:
ActiveDocument.Shapes.Range(MyShapesArray).Select
It works, but with hundreds of shapes it takes sooooooo long! It appears
Word is refreshing the displayed shapes for every one that gets grouped (at
least I see the shape handles as the grouping is taking place.) The
displayed shapes "flicker" as the grouping is taking place.
Is there a way to speed this up? Perhaps by somehow hiding the shapes as
the grouping is taking place to avoid seeing all the shape handles?
hundreds of shapes (lines or ovals) used to plot graphs of functions. I
capture the shape names in an array, then use the array to group the shapes
using code similar to the following:
ActiveDocument.Shapes.Range(MyShapesArray).Select
It works, but with hundreds of shapes it takes sooooooo long! It appears
Word is refreshing the displayed shapes for every one that gets grouped (at
least I see the shape handles as the grouping is taking place.) The
displayed shapes "flicker" as the grouping is taking place.
Is there a way to speed this up? Perhaps by somehow hiding the shapes as
the grouping is taking place to avoid seeing all the shape handles?