'Declaration Function Offset( _ Optional ByVal rowOffset As Integer, _ Optional ByVal columnOffset As Integer _ ) As IRange
'Usage Dim instance As IRange Dim rowOffset As Integer Dim columnOffset As Integer Dim value As IRange value = instance.Offset(rowOffset, columnOffset)
IRange Offset( int rowOffset, int columnOffset )
Parameters
- rowOffset
- The number of rows (positive, negative, or 0 (zero)) by which the range is to be offset. Positive values are offset downward, and negative values are offset upward. The default value is 0.
- columnOffset
- The number of columns (positive, negative, or 0 (zero)) by which the range is to be offset. Positive values are offset to the right, and negative values are offset to the left. The default value is 0.
Return Value
IRange.