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 / April 2004

Tip: Looking for answers? Try searching our database.

How make a field for filling in docproperty Title

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Otto Brandt - 29 Apr 2004 09:27 GMT
I am using word 2002.

I would like to have a field in my doc that says "Insert
document title here". When the user Inserts the title it
would go to docproperty title (that is the one when you
click File->Properties and you choose Summary tab).

Some sources claim this would work:
{ TITLE " {FILLIN "Insert..."} " }
{ TITLE {FILLIN "Insert..."} }
{INFO Title {FILLIN "Insert..."} }

They don't work for me :( . I been figthing with it for
hours :(

If you have a documet that this works in please send a copy
(or stripped down copy) to my email address. -arion-@city.fi
Doug Robbins - Word MVP - 29 Apr 2004 13:51 GMT
You are going to need to use a macro to assign a value to a
BuiltinDocumentProperty other than by the use of the File>Properties dialog

If you were using a formfield in a protected document, you could use

ActiveDocument.BuiltInDocumentProperties(wdPropertyTitle)=ActiveDocument.For
mFields("BMName").Result

where BMName is the bookmark assigned to the formfield.

Or with a userform containing a textbox with the name txtTitle

ActiveDocument.BuiltInDocumentProperties(wdPropertyTitle) = txtTitle.Text

Signature

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP

>
> I am using word 2002.
[quoted text clipped - 14 lines]
> If you have a documet that this works in please send a copy
> (or stripped down copy) to my email address. -arion-@city.fi
 
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.