Visual Basic: Windows Controls

Position Property (ColumnHeader Object)

See Also    Example    Applies To

Returns or sets the position of the object.

Syntax

object.Position [= integer]

The Position property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
integer A numeric expression that specifies the position of the ColumnHeader object. The integer can be any number from 1 to n, where n is the number of ColumnHeader objects.

Remarks

Use the property to rearrange the order of columns.