DocumentPropertyExists()

Syntax

DocumentPropertyExists(Name$)

Remarks

Returns 1 if Name$ is the name of an existing property or 0 (zero) if it is not. For a list of the built-in properties available in Word, see DocumentPropertyName$(). In Word version 6.0, DocumentPropertyExists() is unavailable and generates an error. For an example, see SetDocumentProperty.

See Also

DeleteDocumentProperty, DocumentPropertyName$(), DocumentPropertyType(), IsCustomDocumentProperty()