Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
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?
|
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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? |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
DocVariable | Mailmerge | |||
docvariable when empty gives error - how to stop error text in doc | Mailmerge | |||
How do I stop formatting from changing when opened with word 97? | Microsoft Word Help | |||
How can I stop Word from formatting everything I Type? | Microsoft Word Help | |||
How can I make Word stop formatting for me? | Page Layout |