Help Creating a Macro Automating an Envelope Template Using Word 2

Y

Ytestt

I have to manually feed envelopes to my printer -- Brother HL-5140.

I created an “Word-document-envelope†template by opening a blank Word
document and then formatted it as an envelope template by positioning the
<From Address> and <To Address> fields on the page as they would appear on an
envelope, depending on the size of the envelope. With this
“Word-document-envelope†template, when I place envelopes (instead of papers)
in the printer tray, the envelopes are printed automatically.

How do I create a macro this “Word-document-envelope†template, such that I
would be prompted to enter the dimensions of the envelope, when the macro is
run? Current I have to manually manipulate the positions of the <From
Address> and <To Address> fields when I change the envelope size. I’d like
to automate this task.

Thanks in advance for your response.

Incidentally, previously I accidentally post this question in the General
Questions for Office section.
 
C

Cindy M.

Hi =?Utf-8?B?WXRlc3R0?=,

Which version of Word is this? I see only "2" in the subject line, and I'm having
trouble believing anyone is still working with that 15 year-old version...
I created an “Word-document-envelope†template by opening a blank Word
document and then formatted it as an envelope template by positioning the
<From Address> and <To Address> fields on the page as they would appear on an
envelope, depending on the size of the envelope. With this
“Word-document-envelope†template, when I place envelopes (instead of papers)
in the printer tray, the envelopes are printed automatically.

How do I create a macro this “Word-document-envelope†template, such that I
would be prompted to enter the dimensions of the envelope, when the macro is
run? Current I have to manually manipulate the positions of the <From
Address> and <To Address> fields when I change the envelope size. I’d like
to automate this task.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply in
the newsgroup and not by e-mail :)
 
S

Suzanne S. Barnhill

Regardless of Word version, I would find it more satisfactory just to create
a template for each frequently used envelope size (which is what I've done).
 
Y

Ytestt

Thanks for your response, Suzanne. I just thought that someone might have
created a macro to readily change the size of the envelope.
 
G

Graham Mayor

Word's envelope wizard would do that, so there is really no point
re-inventing the wheel. http://www.gmayor.com/changing_envelope_layout.htm
If you are using multiple envelope sizes then a series of templates as
Suzanne suggested is the better approach. To get you started, download the
#10 samples from my web site.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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