Range.Offset[Object, Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Range object that represents a range that’s offset from the specified range.
public:
property Microsoft::Office::Interop::Excel::Range ^ Offset[System::Object ^, System::Object ^] { Microsoft::Office::Interop::Excel::Range ^ get(System::Object ^ RowOffset, System::Object ^ ColumnOffset); };
public Microsoft.Office.Interop.Excel.Range Offset[object RowOffset, object ColumnOffset] { get; }
Public ReadOnly Property Offset(Optional RowOffset As Object, Optional ColumnOffset As Object) As Range
Parameters
- RowOffset
- Object
Optional Object. 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
- Object
Optional Object. 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.