Update only certain fields in template

S

Starbird

I have a template that has several document variables and text fields in it.
There are 2 userforms that allow a user to update the document by dropping
the text into the fields and updating them. One of the userforms works
great, it updates and all is fine. The other one however clears all text in
text fields when it updates. The code is the same for both userforms with
the exception of the variable names, so I don't understand why they act
differently. Perhaps it would be better if I could be more specific in
telling Word what I want to update.
Question: is there a way to specify only certain fields be updated?
Thanks in advance

SRD
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?U3RhcmJpcmQ=?=,
I have a template that has several document variables and text fields in it.
There are 2 userforms that allow a user to update the document by dropping
the text into the fields and updating them. One of the userforms works
great, it updates and all is fine. The other one however clears all text in
text fields when it updates. The code is the same for both userforms with
the exception of the variable names, so I don't understand why they act
differently. Perhaps it would be better if I could be more specific in
telling Word what I want to update.
Question: is there a way to specify only certain fields be updated?
Perhaps it would help if you give us more information, such as the code you're
using to "update" the fields. From your description, the best guess I can make
is that you're activating document protection inappropriately.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
S

Starbird

Thanks Cindy, I found a solution. I was activating protection wrong for the
goal I wanted to accomplish.
 

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