Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2005

Tip: Looking for answers? Try searching our database.

Update only certain fields in template

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Starbird - 11 Mar 2005 00:39 GMT
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
Cindy M  -WordMVP- - 27 Mar 2005 17:05 GMT
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
[quoted text clipped - 5 lines]
> 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 :-)
Starbird - 28 Mar 2005 13:59 GMT
Thanks Cindy, I found a solution.  I was activating protection wrong for the
goal I wanted to accomplish.  

> Hi =?Utf-8?B?U3RhcmJpcmQ=?=,
>
[quoted text clipped - 19 lines]
> This reply is posted in the Newsgroup; please post any follow question or reply
> in the newsgroup and not by e-mail :-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.