Compartilhar via


_Application.Columns Property

Returns a Range object that represents all the columns on the active worksheet. If the active document isn't a worksheet, the Columns property fails.

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 _Application
Dim value As Range

value = instance.Columns
Range Columns { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Range

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace