TempActiveColumn

Framework library function. This function creates a temporary XLOPER containing a reference to an entire column on the active sheet.

Returns a reference LPXLOPER (xltypeRef) containing a reference to the column passed in.

Syntax

TempActiveColumn(BYTE col);

col (BYTE)

The column number of the cell. The argument is zero-based.

Example

The following example uses TempActiveColumn to select an entire column.

\SAMPLES\EXAMPLE\EXAMPLE.C

short WINAPI TempActiveColumnExample(void)
{
    Excel4(xlcSelect, 0, 1, TempActiveColumn(1));
    return 1;
}