Office development

xlGetName

Last modified: March 18, 2009

Applies to: Excel 2010 | Office 2010 | VBA | Visual Studio

Returns the full path and file name of the DLL in the form of a string.


Excel12(xlGetName, LPXLOPER12 pxRes, 0);

This function has no arguments.

Returns the path and file name (xltypeStr).

\SAMPLES\EXAMPLE\EXAMPLE.C

short WINAPI xlGetNameExample(void)
{
    XLOPER12 xRes;

    Excel12(xlGetName, (LPXLOPER12)&xRes, 0);
    Excel12(xlcAlert, 0, 1, (LPXLOPER12)&xRes);
    Excel12(xlFree, 0, 1, (LPXLOPER12)&xRes);
    return 1;
}
Show:
© 2016 Microsoft