xlGetName

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);

Parameters

This function has no arguments.

Property value/Return value

Returns the path and file name (xltypeStr).

Example

\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;
}

See also