Autocorrect in an interactive template

M

Mizpah

Is it possible to run autocorrect in a word template after its
formfields are populated from a userform? I have been experimenting
with the autocorrect object in word vba and I haven't been able to get
it to do what I would like.

What I am specifically trying to do is when a user types a word into a
text box on a userform that word will be "autocorrected" when that word
is applied to the formfield of the template. For example if the user
types sos in a textbox, then it the formfield displays secretary of
state in that formfield on the template. I have added this particular
entry to autocorrect in word and it works if you type it in manually,
but the trick is applying the same feature when the document is filled
in through a userform.

Thanks in advance.
 
C

Charles Kenyon

No, but you can have your UserForm search for a corresponding AutoCorrect
entry and insert it in place of what is typed, I suppose.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

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


--------- --------- --------- --------- --------- ---------
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.
 
M

Mizpah

Thanks, I kind of figured that was my only option. I was hoping it
could use the existing text-replace library in autocorrect. You know
it's funny, because the reason why this user wanted this is because
they could get this kind of functionality out of Word Perfect 6. That's
an old program. I wonder why Microsoft hasn't been able to do this.
 

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