Returns a reference to a range that is a specified number of rows and columns from a cell or range of cells
static int Offset( CXlOper& xloOffsetRef, const CXlOper& reference, long rows, long cols, unsigned long height = 0, unsigned long width = 0 );
A reference to a CXlOper that will contain the requested data if the macro succeeds.
The reference from which you want to base the offset.
Desired height of resulting reference. Treated as missing if 0.
Desired width of resulting reference. Treated as missing if 0.
Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.
See the Microsoft Excel on-line Help for full details about this function.