Computing.Net > Forums > Office Software > insert field

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

insert field

Reply to Message Icon

Name: Dyaln Tomkins
Date: September 12, 2003 at 06:20:30 Pacific
OS: xp
CPU/Ram: 256
Comment:

I've entered some text in File>Properties>Summary>Subject an example would be test. I then inserted the field called subject from Insert>Field>Subject and sure enough test appears on the page. However when i change the text in the properties summary area the text does not automatically update on the document instead you have to press F9. Is there anyway to automate this as when two people are sharing the document unless the second user knows to press F9 the document will not reflect the changes made to properties> summary> subject.



Sponsored Link
Ads by Google

Response Number 1
Name: A Certain TH
Date: September 12, 2003 at 15:07:37 Pacific
Reply:

I don't know a "standard" way of doing this, but here is a way that works - if you're desperate.

Copy and paste this into a module in your document. Then run it once. It will run itself every second thereafter. Any changes you make to any fields will therefore also update every second.

Maybe someone else here has a better idea.

The other thing you can do is rename it "autorun_open" or whatever that code is (I can never remember!) that makes it runs itself as soon as the workbook is opened.


Sub UpdateFields()
ActiveDocument.Fields.Update
Application.OnTime When:=Now + TimeValue("00:00:01"), _
Name:="UpdateFields"
End Sub

Hope that helps
Tom


0
Reply to Message Icon

Related Posts

See More


Format date in excel 2000 MS Access 2000 Recordset ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: insert field

Date Field in Word www.computing.net/answers/office/date-field-in-word/6037.html

Word 2000 Duplicating Field Codes www.computing.net/answers/office/word-2000-duplicating-field-codes/3305.html

Automating Text for a Word Form www.computing.net/answers/office/automating-text-for-a-word-form/542.html