Copy date

D

Dottie

Is there a way to copy the date from page one on a letter
to the header of the next page using VB. The date is not
inserted as a field, it is typed in. Help.
 
C

Charles Kenyon

Much easier than using vba is to create your letter from a template. You can
use a CREATEDATE field or simply mark the place to type the date using a
macrobutton. The line that holds the date field should in a different
paragraph style (i.e. "Date") which is based on your Body Text style or
Normal style, whatever you are using to type the letter. Set it so the next
paragraph will be in that base style (or some different style).

Set your headers/footers for different first page and in the header on the
second page insert a STYLEREF field referring to your Date style.

You can download a sample of this from <URL:
http://addbalance.com/word/download.htm> - look for the word STYLEREF. See
<URL: http://addbalance.com/word/datefields1.htm> for information on the
different kinds of datefields and how to format them. See <URL:
http://www.addbalance.com/usersguide/fields.htm#MacroButton> and <URL:
http://www.mvps.org/word/FAQs/TblsFldsFms/UsingMacroButton.htm> for more
about macrobutton fields.

--
Charles Kenyon

Word New User FAQ & Web Directory:
<URL: http://addbalance.com/word/index.htm>

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)
<URL: http://addbalance.com/usersguide/index.htm>

See also the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

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