CountDocumentProperties()

Syntax

CountDocumentProperties()

Remarks

Returns the total number of built-in and custom document properties defined for the current document. For a list of the built-in properties available in Word, see DocumentPropertyName$(). In Word version 6.0, CountDocumentProperties() is unavailable and generates an error.

For an example, see DocumentPropertyName$().

See Also

DocumentPropertyName$(), GetDocumentProperty()