Description
Moves the column including its data and properties.

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public void MoveColumn(
	int ColumnIndex,
	int ColumnPosition
)
Public Sub MoveColumn ( _
	ColumnIndex As Integer, _
	ColumnPosition As Integer _
)
public:
void MoveColumn(
	int ColumnIndex, 
	int ColumnPosition
)

Parameters

ColumnIndex
Int32
The column index.
ColumnPosition
Int32
New position of the column.

See Also