FYI, I was wanting to figure out how to send all lines to back and I thought
I needed an array, but then your post made me realize I could just set them
in the loop; also, I have vertical lines as well, so basing on what you
suggested I worked this out:
Private Function SendAllLinesBack()
'sends all drawing lines to back in zorder of objects:
Dim oSHP As Shape
For Each oSHP In ThisDocument.Shapes
If (oSHP.Height = 0 Or oSHP.Width = 0) Then
oSHP.ZOrder msoSendToBack
End If
Next oSHP
End Function
Thanks!
> > Using Office 2003 and Windows XP;
> >
[quoted text clipped - 6 lines]
> Just cycle the shape collection and select those that have a height equal to
> zero.
Jean-Guy Marcil - 11 Mar 2008 14:22 GMT
> FYI, I was wanting to figure out how to send all lines to back and I thought
> I needed an array, but then your post made me realize I could just set them
[quoted text clipped - 10 lines]
> Next oSHP
> End Function
Glad that you worked it out!