Word docvariable stop re-formatting!

T

Terrycoco

I have created a user form which my users enter whatever values the
want. The problem is that when I update the document to put thes
values in docvariables that I have set up, Word keeps reformatting wha
they put in! I work in healthcare and we have strange cases "HIV/HCV
"PhD", etc. and my users who are scientists know how to capitalize jus
fine. I don't want Word to mess with what they typed in! But every tim
I update the doc (through VBA) ... "HIV/HCV" turns out "hiv/hcv"; "PhD
turns out "phd", etc. I looked at switches, but I can't make it al
lowercase, all uppercase, or initial caps, because there are alway
exceptions. How to stop this behavior
 
S

Stefan Blom

Document variables are just string values; these shouldn't change once
they have been assigned. What does the macro do?

Stefan Blom
Microsoft 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