WorksheetFunction.ImArgument Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .ImArgument(Arg1)

expression A variable that represents a WorksheetFunction object.

Parameters

Name

Required/Optional

Data Type

Description

Arg1

Required

Variant

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

Return Value

String

  • Use COMPLEX to convert real and imaginary coefficients into a complex number.

  • IMARGUMENT is calculated as follows: awfimar2_ZA06051154where: awfimar3_ZA06051155 and z = x + yi

Show: