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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update Existing Custom Document Properties

Status
Not open for further replies.

OddEinar

Programmer
May 11, 2006
8
NO
Hi, I have used the:

ActiveDocument.CustomDocumentProperties.Add _
Name:="E-mail", LinkToContent:=False, Value:=Email, _
Type:=msoPropertyTypeString

..code to set a propertie for the document. But I want to make a macro that can update allready existing document properites. How do I do that?
 
If you have already added the custom property, then just reference it and set it to a new value!

ActiveDocument.CustomDocumentProperties("E-mail")="Changed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top