WorksheetFunction.ImAbs (Excel)
Returns the absolute value (modulus) 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. The absolute value of a complex number is as follows, where z = x + yi:
ImAbs (Arg1)
Arg1: Inumber - a complex number for which you want the absolute value.
Dim strImAbs As String
strImAbs = WorksheetFunction.ImAbs(Arg1:=)