remove frame from text box

G

Guest

I have created a maintenance agreement in Word 2003 using text boxes that the
end user will fill in. When I print the agreement out with the customer's
information entered, it also prints lines around the text box. Can I get rid
of the lines around the text box when printing without messing up the rest of
the format?

Thanks for your help
 
G

Greg Maxey

Stephanie,

Why do you have lines around them to start with? Can you simply use
textboxes without lines?

If not, prior to print you could run a macro similar to this:

Sub ClearBorders()
Dim oILS As Shape
For Each oILS In ActiveDocument.Shapes
If oILS.Type = msoTextBox Then
oILS.Line.Visible = msoFalse
End If
Next
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top