Muokkaa

Jaa


Range.EntireColumn property (Excel)

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

Syntax

expression.EntireColumn

expression A variable that represents a Range object.

Example

This example sets the value of the first cell in the column that contains the active cell. The example must be run from a worksheet.

ActiveCell.EntireColumn.Cells(1, 1).Value = 5

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.