Get an
IRange object that represents a cell or a range of cells.
'Declaration
Function Range( _
ByVal As String, _
Optional ByVal As String _
) As IRange
'Usage
Dim instance As IRange
Dim cell1 As String
Dim cell2 As String
Dim value As IRange
value = instance.Range(cell1, cell2)
Parameters
- cell1
- The name of the range. This must be an A1-style reference.
- cell2
- The cell in the lower-right corner of the range.