F
Fuzzhead
I have the following macro that allows the user to draw vertical lines in the
document. How can I remove all of them later from the document at one time
without removing other shapes in the document?
Sub NewLine()
Dim lineNew As Shape
Dim i, j
On Error GoTo EndThis
i = Selection.Information(wdVerticalPositionRelativeToPage)
j = InchesToPoints(InputBox("BAR LENGTH {In Inches}:"))
Set lineNew = ActiveDocument.Shapes.AddLine(575, i, 575, j + i)
EndThis:
End Sub
document. How can I remove all of them later from the document at one time
without removing other shapes in the document?
Sub NewLine()
Dim lineNew As Shape
Dim i, j
On Error GoTo EndThis
i = Selection.Information(wdVerticalPositionRelativeToPage)
j = InchesToPoints(InputBox("BAR LENGTH {In Inches}:"))
Set lineNew = ActiveDocument.Shapes.AddLine(575, i, 575, j + i)
EndThis:
End Sub