Previous Document Next Document

Object Model Reference : Classes : D : DataFields : Properties : DataFields.Count


DataFields.Count

Property Count As Long

Description

Member of DataFields

The Count property returns the number of data-field objects available.

The Count property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.