WorksheetFunction.Power Method (Excel)

Returns the result of a number raised to a power.

Syntax

expression .Power(Arg1, Arg2)

expression A variable that represents a WorksheetFunction object.

Parameters

Name

Required/Optional

Data Type

Description

Arg1

Required

Double

Number - the base number. It can be any real number.

Arg2

Required

Double

Power - the exponent to which the base number is raised.

Return Value

Double

Remarks

The "^" operator can be used instead of POWER to indicate to what power the base number is to be raised, such as in 5^2.

See Also

Concepts

WorksheetFunction Object Members

WorksheetFunction Object