xlGetName

Office 2013 and later

Last modified: July 01, 2011

Applies to: Excel 2013 | Office 2013 | 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: