Be the first user to complete this post
|
Add to List |
VBA-Excel: Math Functions – Atn()
Description:
The Atn function in MS excel returns the arctangent of a number.
Format:
Atn(number)
Arguments:
- Number
- Mandatory
- Type: Number
- Number for which arctangent needs to be calculated
Function getATN() Dim number1 Dim number2 number1 = -15 number2 = 20 MsgBox "The Arctangent values are " & Atn(number1) & " and " & Atn(number2) End Function
