Framework library function. This function creates a temporary XLOPER containing a reference to a single cell on the active sheet.
Returns a reference LPXLOPER (xltypeRef) containing the reference of the cell passed in.
TempActiveCell(WORD rw, BYTE col);
rw (WORD)
The row of the cell. All arguments are zero-based.
col (BYTE)
The column of the cell.
This example uses the TempActiveCell function to display the contents of cell B121 on the active sheet.
\SAMPLES\EXAMPLE\EXAMPLE.C
short WINAPI TempActiveCellExample(void)
{
Excel4(xlcAlert, 0, 1, TempActiveCell(120,1));
return 1;
}