TempMissing/TempMissing12
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Framework library function that creates a temporary XLOPER/XLOPER12 of type xltypeMissing.
LPXLOPER TempMissing(void);
LPXLOPER12 TempMissing12(void);
Parameters
This function takes no parameters.
Return Value
Returns a pointer to an xltypeMissingXLOPER/XLOPER12.
Example
This example uses TempMissing12 to provide three missing arguments to xlcWorkspace followed by a BooleanFALSE to suppress the display of worksheet scroll bars. The first three arguments correspond to other workspace settings which are unaffected.
\SAMPLES\EXAMPLE\EXAMPLE.C
short WINAPI TempMissingExample(void)
{
XLOPER12 xBool;
xBool.xltype = xltypeBool;
xBool.val.xbool = 0;
Excel12f(xlcWorkspace, 0, 4, TempMissing12(), TempMissing12(),
TempMissing12(), (LPXLOPER12)&xBool);
return 1;
}