WorksheetFunction.Acos method (Excel)

Returns the arccosine, or inverse cosine, of a number. The arccosine is the angle whose cosine is Arg1. The returned angle is given in radians in the range 0 (zero) to pi.

Syntax

expression.Acos (Arg1)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data type Description
Arg1 Required Double The cosine of the angle you want, and must be from -1 to 1.

Return value

Double

Remarks

If you want to convert the result from radians to degrees, multiply it by 180/PI() or use the Degrees method.

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.