Object Model Reference : Classes : D : DataFields : Properties : DataFields.Count |
Property Count As Long
Member of DataFields
The Count property returns the number of data-field objects available.
The Count property returns a read-only value.
The following VBA example shows the number of data fields available.
Sub Test() |
Dim n As Long |
n = ActiveDocument.DataFields.Count |
MsgBox "There are " & n & " data fields defined." |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.