Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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;
}