Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add information to Title and Comment fields in Word document

Status
Not open for further replies.

MrStar

Programmer
Sep 30, 2002
53
DK
Can anybody tell me how I can update the fields in "BuiltInDocumentProperties" in a Word document?
I would like to put a name in the Author field and som comments and some keywords.
I can read the information, but I can't figure out how to update the fields.

Regards
 
Hi MrStar,

As this is the VBA Forum, I'll give you a VBA method:

Code:
ActiveDocument.BuiltInDocumentProperties("Author") = "Enid Blyton"

But, if you can read the Properties, I don't really understand what your problem is with writing them.

Enjoy,
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top