Bewerken

Delen via


_Application.Cells Property

Definition

Returns a Range object that represents all the cells on the active worksheet. If the active document isn’t a worksheet, this property fails.

public:
 property Microsoft::Office::Interop::Excel::Range ^ Cells { Microsoft::Office::Interop::Excel::Range ^ get(); };
public Microsoft.Office.Interop.Excel.Range Cells { get; }
Public ReadOnly Property Cells As Range

Property Value

Remarks

Because the Item[Object, Object] property is the default property for the Range object, you can specify the row and column index immediately after the Cells keyword. For more information, see the Item[Object, Object] property.

Applies to