Belešku
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili da promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
Gets a Long indicating the number of items in the DocumentProperties collection. Read-only.
Syntax
expression.Count (pc)
expression A variable that represents a DocumentProperties object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| pc | Required | Long | Represents the index of the document property. |
Return value
Long
Example
This example displays the number of custom document properties in the active document.
MsgBox ("There are " & _
ActiveDocument.CustomDocumentProperties.Count & _
" custom document properties in the " & _
"active document.")
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.