Syntax
DeleteDocumentProperty Name$
Remarks
Removes the Name$ custom property from the list of custom properties on the Custom tab in the Properties dialog box (Properties command, File menu). If the property specified by Name$ is not a custom property, an error occurs. Use the DocumentPropertyExists() function to verify that the Name$ property exists.
For a list of the built-in properties available in Word, see DocumentPropertyName$(). In Word version 6.0, DeleteDocumentProperty is unavailable and generates an error.
See Also
DocumentPropertyExists(), GetDocumentProperty(), IsCustomDocumentProperty(), SetDocumentProperty