Autotext variables

B

Bill

I use form letters that are created using autotext. These
letters have variables for names, dates, etc. An input box
comes up for each variable in the letter. I would like to
write a macro that would enter values automatically. eg.
year = 2003. Any ideas? Thanks
 
C

Cindy Meister -WordMVP-

Hi Bill,

Are these FILLIN and/or ASK fields?

If they are, you macro could change the field code to add or
change the /d default text. The tricky part would be making
sure this is done before the display of the fields is
triggered. I suspect you'd need to lock the fields before
creating the AutoText entry, then use the macro to make the
changes, unlock the fields, and update them...
I use form letters that are created using autotext. These
letters have variables for names, dates, etc. An input box
comes up for each variable in the letter. I would like to
write a macro that would enter values automatically. eg.
year = 2003.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jan
24 2003)
http://www.mvps.org/word

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

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