Hello all,
I need to calculate number^(exponent) where number is negative.
Excel allows me to do this on a worksheet.
However, when I try to do it in VBA, it does not seem possible. The help for ^Operator tells me that "Number can be negative only if exponent is an integer value".
Does anyone know of a way around this?
Any help or comment would be warmly welcomed.
Cheers,
Yornoc
I need to calculate number^(exponent) where number is negative.
Excel allows me to do this on a worksheet.
However, when I try to do it in VBA, it does not seem possible. The help for ^Operator tells me that "Number can be negative only if exponent is an integer value".
Does anyone know of a way around this?
Any help or comment would be warmly welcomed.
Cheers,
Yornoc