NamedRange::Column Property

 

Gets the number of the first column in the first area of the NamedRange control.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

property int Column {
	int get();
}

Property Value

Type: System::Int32

The number of the first column in the first area of the NamedRange control. Column A returns 1, column B returns 2, and so on.

The following code example creates a NamedRange and uses the Column and Row properties to display the numbers of the first column and row in the NamedRange.

This example is for a document-level customization.

No code example is currently available or this language may not be supported.
Return to top
Show: