WorksheetClass.Range Property
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property Range ( _
Cell1 As Object, _
Cell2 As Object _
) As Range
Get
'Usage
Dim instance As WorksheetClass
Dim Cell1 As Object
Dim Cell2 As Object
Dim value As Range
value = instance.Range(Cell1, Cell2)
public virtual Range this[
Object Cell1,
Object Cell2
] { get; }
Parameters
- Cell1
Type: System.Object
- Cell2
Type: System.Object
Property Value
Type: Microsoft.Office.Interop.Excel.Range
Implements
_Worksheet.Range[Object, Object]