EntireColumn Property

Microsoft Office Web Components Visual Basic

Returns a Range object that represents the entire column (or columns) containing the specified range. Read-only.

expression.EntireColumn

expression    Required. An expression that returns a Range object.

Example

This example sets the font color for the entire column containing the active cell.

Spreadsheet1.ActiveCell.EntireColumn.Font.Color = "green"