API Documentation > CorelDRAW > 2025-v26 > DataField > IVGDataField
DataField.Name property
Gets or sets the data field Name
Syntax:
Property Get Name() As String
Property Let Name(ByVal Value As String)
Remarks:
The Name property returns the name of the data field as it appears in the Object Data Manager docker.
Examples:
The following VBA 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