# WorksheetFunction.ImArgument Method

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

Syntax

expression.ImArgument(Arg1)

expression   A variable that represents a WorksheetFunction object.

Parameters

NameRequired/OptionalData TypeDescription
Arg1RequiredVariantInumber is a complex number for which you want the argument theta.

Return Value
String

Remarks

• Use COMPLEX to convert real and imaginary coefficients into a complex number.
• IMARGUMENT is calculated as follows:

where:

and

z = x + yi