Office 2013 and later

Last modified: July 01, 2011

Applies to: Excel 2013 | Office 2013 | Visual Studio

Returns a value that indicates whether the user-defined function is running on a cluster.

Excel12(xlRunningOnCluster, LPXLOPER12 pxRes, 0);

This function has no arguments.

If the function is running in an Excel process, returns 0 in an XLOPER12 of type xlTypeInt. If the function is running on a cluster, the return type and value is determined by the cluster connector provider.

This function is defined in the Xlcall.h header file.