WorksheetFunction.ErfC method (Excel)
Returns the complementary ERF function integrated between the specified parameter and infinity.
Important This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. This function is still available for compatibility with earlier versions of Excel. However, if backward compatibility is not required, you should consider using the new functions from now on, because they more accurately describe their functionality.
For more information about the new function, see the ErfC_Precise method.
expression A variable that represents a WorksheetFunction object.
|Arg1||Required||Variant||The first argument.|
|Arg2||Optional||Variant||The second argument.|
If this function is not available, and returns the #NAME? error, you need to install and load the Analysis ToolPak add-in.
If the parameter is nonnumeric, ERFC returns the #VALUE! error value.
If the parameter is negative, ERFC returns the #NUM! error value.
The following example displays the complementary ERF function of 1 (0.1573).
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.