WorksheetFunction.ImCos (Excel)

Returns the cosine of a complex number in x + yi or x + yj text format.

Use the Complex method to convert real and imaginary coefficients into a complex number. If inumber is a logical value, ImCos returns the #VALUE! error value. The cosine of a complex number is

ImCos (Arg1)

Arg1: Inumber - a complex number for which you want the cosine.


Dim strImCos As String
strImCos = WorksheetFunction.ImCos(Arg1:=)