WorksheetFunction.ImArgument (Excel)

Returns the argument (theta), an angle expressed in radians, such that:.

Use the Complex method to convert real and imaginary coefficients into a complex number. ImArgument is calculated as follows:

ImArgument (Arg1)

Arg1: Inumber is a complex number for which you want the argument theta.

Dim strImArgument As String
strImArgument = WorksheetFunction.ImArgument(Arg1:=)