PC Review

Thread Tools Rate Thread

Re: Word docvariable stop re-formatting!

Stefan Blom
Posts: n/a
      17th Jul 2012
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 With Quote

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
docvariable fields - force negative numbers to disred OR paren - h Lisa Microsoft Word Document Management 2 21st Mar 2008 07:28 AM
Formatting DocVariable fields in a Word Doc when printing from Acc OssieMac Microsoft Access VBA Modules 1 15th Feb 2008 04:58 AM
Help with FIELD CODES: DOCVARIABLE!!! =?Utf-8?B?V2VuZHkgRA==?= Microsoft Word Document Management 2 16th Aug 2005 08:32 PM
Cannot printing DocVariable Field =?Utf-8?B?bHVibw==?= Microsoft Word Document Management 1 9th Apr 2005 07:00 AM
Docvariable Alberto Microsoft Word Document Management 1 22nd Nov 2004 04:00 PM




All times are GMT +1. The time now is 05:00 AM.