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
On 2012-07-16 20:55, Terrycoco wrote:
> I have created a user form which my users enter whatever values they
> want. The problem is that when I update the document to put these
> values in docvariables that I have set up, Word keeps reformatting what
> 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 just
> fine. I don't want Word to mess with what they typed in! But every time
> 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 all
> lowercase, all uppercase, or initial caps, because there are always
> exceptions. How to stop this behavior?
>
>
>
>
|