Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Reddit
Contact us
Hide Buttons

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
Atn()

Atn()

 

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: