Partager via


_Worksheet.Columns Property

Returns a Range object that represents all the columns on the specified worksheet. Read-only.

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

Syntax

'Declaration
ReadOnly Property Columns As Range
    Get
'Usage
Dim instance As _Worksheet
Dim value As Range

value = instance.Columns
Range Columns { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Range

See Also

Reference

_Worksheet Interface

_Worksheet Members

Microsoft.Office.Interop.Excel Namespace