Object Model Reference : Classes : D : DataFields : Properties : DataFields.Item |
Property Item(IndexOrName As Variant) As DataField
Member of DataFields
The Item property returns the data item (DataField object) representing a data field. It is the default property of the DataFields class.
The Item property returns a read-only value.
The following VBA example shows the format string used to format the data of the Cost field.
Sub Test() |
MsgBox ActiveDocument.DataFields.Item("Cost").Format |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.