Textbox margins

G

Gus Porteners

Is it possible to set the default margins of the textbox to zero?
I use unlined text boxes a lot and find it a chore to every time having to
set the margins to zero.
Here is hoping....
Gus Porteners
 
P

pre

Try this one:

With ActiveDocument.Shapes.AddShape(msoShapeRectangle, _
40, 100, 250, 140).TextFrame
.TextRange.Text = "Here is some text"
.MarginBottom = 0
.MarginLeft = 10
.MarginRight = 0
.MarginTop = 10
End With

pre
 
S

Suzanne S. Barnhill

This is worth a try.

1. In a new document, insert a text box.

2. Right-click and Format Text Box.

3. Change the margins. Do not make any other changes. OK out.

4. Right-click and choose Set AutoShape Defaults.

This *may* work. To set this default for all new documents, you'd need to
make this change in Normal.dot. For tips on finding and opening Normal.dot,
see
http://www.mvps.org/word/FAQs/AppErrors/BlankDocNotBlank.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Gus Porteners

Thank You Suzanne. It works a treat and will be a great timesaver for me.
Gus
 
G

Gus Porteners

Many thanks for the prompt reply.
I tried Suzanne Barnhill's suggestion and it works a treat.
I'll keep your solution up my sleeve!

Gus
 

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