Simple (I think) line or underline question

  • Thread starter Thread starter GMLutz
  • Start date Start date
G

GMLutz

I wrote a macro to generate a memo form. The memo has the usual To:,
From:, etc., and then I want to draw a simple horizontal line under the
heading to separate it from the body of the memo. I want the line to
stretch margin to margin. However, I run the macro on pages with
varying margins, so my question is...

How do I generate a line from the left margin to the right margin,
regardless of the distance between the margins?

Much obliged.

George Lutz
 
G'Day George,

If you have never tried it, try now (in a blank document)
typing (in threes):
---<Enter>
___<Enter>
===<Enter>
~~~<Enter>
###<Enter>
***<Enter>

The "Lines" that are generated are paragraph (bottom)
borders, related to the <Enter> (paragraph mark) that
you type.

They will be as 'long' as the paragraph is wide - usually
from margin to margin.

Note, however, that they are affected by Left/Right Indents
where present.
 
You may like Pat's answer, but the real answer is that you shouldn't need a
macro to create a memo form. This is what templates are for. See
http://word.mvps.org/FAQs/Customization/CreateATemplatePart1.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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

Similar Threads


Back
Top