xlGetName

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

Concepts

C API Functions That Can Be Called Only from a DLL or XLL