![]() |
![]() |
DataField.Name
Property Name As String
Member of DataField
The Name property returns the name of the data field as it appears in the Object Data Manager docker.
The following code example shows the list of all data fields defined for the active document along with their format strings.
Sub Test() Dim s As String Dim df As DataField s = "Data Fields available:" & vbCr For Each df In ActiveDocument.DataFields s = s & vbCr & df.Name & " : " & df.Format Next df MsgBox s End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.