Object Model Reference : Classes : D : DataField : Methods : DataField.Reorder |
Sub Reorder(NewIndex As Long)
Member of DataField
The Reorder method reorders the position of a data field in the Object Data Manager docker by assigning a new index number to the data field.
Parameter
|
Description
|
NewIndex
|
Specifies the preset placeholder that uniquely identifies each data field
|
The following VBA example moves the Comments field to the top of the list.
Sub Test() |
ActiveDocument.DataFields("Comments").Reorder 1 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.