WorksheetFunction.Sec Method (Excel)

Returns the secant of an angle.

Syntax

expression. Sec(Arg1)

expression A variable that represents a WorksheetFunction Object (Excel) object.

Parameters

Name Required/Optional Data type Description
Arg1 Required DOUBLE Angle in radians for which you want the secant.

Return value

DOUBLE

See also

WorksheetFunction Object