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 / Mailmerge and Fax / January 2004

Tip: Looking for answers? Try searching our database.

automatic field updating

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chip Orange - 26 Jan 2004 16:27 GMT
I'm trying to use sequence and ref fields in a Word template I'm creating
for others; these fields aren't being updated as things change unless the
user causes an update to happen.

Is there a way (maybe a field switch) to cause them to always keep
up-to-date?

thanks.

Chip
Cindy M  -WordMVP- - 26 Jan 2004 17:30 GMT
Hi Chip,

> I'm trying to use sequence and ref fields in a Word template I'm creating
> for others; these fields aren't being updated as things change unless the
> user causes an update to happen.
>  
> Is there a way (maybe a field switch) to cause them to always keep
> up-to-date?

Nope, no such luck. To be fair, if fields were always updating Word would
slow down considerably. So MS had to decide where to draw the line.

Can you find some sort of event you could use to trigger this? Or use VBA
code for the insertion, so that you can follow it up with fields.update?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
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 :-)
Chip Orange - 26 Jan 2004 18:50 GMT
Yes, thanks.

My concern is that with the sequence field say, as they cut and paste
sections of the document, the sequence field will immediately after the
paste look as if things are out of sequence to them.  While I think I could
have fields update on open, or print, or save, I don't know of a way to make
it happen immediately after a paste (or a delete).

thanks again,

Chip

> Hi Chip,
>
[quoted text clipped - 18 lines]
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
Cindy M  -WordMVP- - 27 Jan 2004 16:56 GMT
Hi Chip,

> My concern is that with the sequence field say, as they cut and paste
> sections of the document, the sequence field will immediately after the
> paste look as if things are out of sequence to them.  While I think I could
> have fields update on open, or print, or save, I don't know of a way to make
> it happen immediately after a paste (or a delete).

Well, with delete the WindowSelectionChange event comes to mind (assuming the
user doesn't simply overtype). Or even remapping the delete key (KeyBindings
collection).

And you should also be able to "remap" the EditPaste command. Put a procedure
of this name in the template project, then code it to do what you want.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
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 :-)
 
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.