WorksheetFunction.Tanh (Excel)

Returns the hyperbolic tangent of a number.

The formula for the hyperbolic tangent is

Tanh (Arg1)

Arg1: Number - any real number.


Dim dblArg1 As Double: dblArg1 = 
Dim dblTanh As Double
dblTanh = WorksheetFunction.Tanh(Arg1:=dblArg1)