Autorun a macro

A

Angela

I have a template for letters that requires a right
margin of 5.5cm on page one, but when you get to the
first line of the second page I want a macro to
automatically run to change the right margin to 2.5cm
from this point forward. I can record macros at end user
level and have created one to ctrl&home, goto pg 2 then
page setup, but this template will be for secretaries to
use and would be better if it would automatically kick in
when you get to the first character in page 2. Is this
possible. I do not know vba but am quick to learn.
 
D

Doug Robbins

The best way to do this is to set up the document with the 2.5cm right
margin then set up a First Page Header in which you anchor a text box that
extends down the right hand side of the page and forces the text that will
appear on that page to wrap at the 5.5cm position. Then no macro is
required, the text will just flow as you want.

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 
G

Guest

This worked perfectly, thanks.
-----Original Message-----
The best way to do this is to set up the document with the 2.5cm right
margin then set up a First Page Header in which you anchor a text box that
extends down the right hand side of the page and forces the text that will
appear on that page to wrap at the 5.5cm position. Then no macro is
required, the text will just flow as you want.

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - 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