The FormatType property returns the format type for a data field. The format type can be one of the following: General, Date/Time, Linear/Angular, or Numeric.
Examples:
The following VBA example changes the format of all numeric data fields.
Sub Test()
Dim df As DataField
For Each df In ActiveDocument.DataFields
If df.FormatType = cdrFormatNumeric Then
df.Format = "#,##0 K"
End If
Next df
End Sub