A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How make a field for filling in docproperty Title



 
 
Thread Tools Display Modes
  #1  
Old April 29th, 2004, 09:27 AM
Otto Brandt
external usenet poster
 
Posts: n/a
Default How make a field for filling in docproperty Title


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.

  #2  
Old April 29th, 2004, 01:51 PM
Doug Robbins - Word MVP
external usenet poster
 
Posts: n/a
Default How make a field for filling in docproperty Title

You are going to need to use a macro to assign a value to a
BuiltinDocumentProperty other than by the use of the FileProperties dialog

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

ActiveDocument.BuiltInDocumentProperties(wdPropert yTitle)=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(wdPropert yTitle) = txtTitle.Text

--
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
"Otto Brandt" wrote in message
...

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.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.