XLL+ Class Library (6.3)

CXllCom::OleRangeIsFirst

Returns whether range is the first (or only) cell of an array

static HRESULT OleRangeIsFirst(
   LPDISPATCH dispRange,
   BOOL& bIsFirst
);

Parameters

dispRange

The range to be inspected.

bIsFirst

This will be set to TRUE if the range is the first (top left) cell of a formula array, or if the range is not part of a formula array. It will be set to FALSE if the range is a member of a formula array, and is not the first cell.

Requirements

Header: xlpcom.h

See Also

CXllCom Class | CXllCom Methods | CXllCom::OleRangeIsCurrent()