Re: Word docvariable stop re-formatting!

Discussion in 'Microsoft Word Document Management' started by Stefan Blom, Jul 17, 2012.

  1. Stefan Blom

    Stefan Blom Guest

    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?
    >
    >
    >
    >
     
    Stefan Blom, Jul 17, 2012
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alberto

    Docvariable

    Alberto, Nov 22, 2004, in forum: Microsoft Word Document Management
    Replies:
    1
    Views:
    813
    Jay Freedman
    Nov 22, 2004
  2. Guest

    Cannot printing DocVariable Field

    Guest, Apr 8, 2005, in forum: Microsoft Word Document Management
    Replies:
    1
    Views:
    346
    Shauna Kelly
    Apr 9, 2005
  3. Guest

    Help with FIELD CODES: DOCVARIABLE!!!

    Guest, Aug 16, 2005, in forum: Microsoft Word Document Management
    Replies:
    2
    Views:
    8,465
    Doug Robbins
    Aug 16, 2005
  4. Lisa

    docvariable fields - force negative numbers to disred OR paren - h

    Lisa, Mar 20, 2008, in forum: Microsoft Word Document Management
    Replies:
    2
    Views:
    511
    Graham Mayor
    Mar 21, 2008
  5. Eric L

    DocVariable and font caracteristics question

    Eric L, Mar 31, 2010, in forum: Microsoft Word Document Management
    Replies:
    1
    Views:
    561
    Graham Mayor
    Apr 1, 2010
Loading...

Share This Page