TempMissing/TempMissing12

Applies to: Excel 2013 | Office 2013 | Visual Studio

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 xltypeMissing XLOPER/ XLOPER12.

Example

This example uses TempMissing12 to provide three missing arguments to xlcWorkspace followed by a Boolean FALSE 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;
}

See also

Functions in the Framework Library