Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Create arcTan function


Hello,

How can I create a ARCTAN (TAN-1) function in VBA?

Thank

--
Tadashi
-----------------------------------------------------------------------
Tadashii's Profile: http://www.excelforum.com/member.php...fo&userid=2391
View this thread: http://www.excelforum.com/showthread.php?threadid=50167

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Create arcTan function

ATAN()

Tadashii wrote:

Hello,

How can I create a ARCTAN (TAN-1) function in VBA?

Thanks

--
Tadashii
------------------------------------------------------------------------
Tadashii's Profile: http://www.excelforum.com/member.php...o&userid=23918
View this thread: http://www.excelforum.com/showthread...hreadid=501675


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Create arcTan function

Tadashii,

In the VB editor goto help and type in Derived and goto Derived Math
Function. There is a list of useful equations.

For arc or cotangent you could do the following.

Public Function Arctangent(dblValue as Double) As Double
Arctangent = 1# / Tan(dblValue)
End Function

Then in your code to call Arctangent.

dblATan = Arctangent(dblValue)

*** Sent via Developersdex http://www.developersdex.com ***
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Create arcTan function

Use the built in Arttan function??

from Excel VBA help:

Atn Function
Returns a Double specifying the arctangent of a number.

----------------------------------------------

See help for details

--

Regards,

Tom Ogilvy



"Tadashii" wrote in
message ...

Hello,

How can I create a ARCTAN (TAN-1) function in VBA?

Thanks


--
Tadashii
------------------------------------------------------------------------
Tadashii's Profile:

http://www.excelforum.com/member.php...o&userid=23918
View this thread: http://www.excelforum.com/showthread...hreadid=501675



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Create arcTan function


thanks for the info


--
Tadashii
------------------------------------------------------------------------
Tadashii's Profile: http://www.excelforum.com/member.php...o&userid=23918
View this thread: http://www.excelforum.com/showthread...hreadid=501675

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
is it possible to find the arctan of an angle in Excel or an add . JmcD New Users to Excel 4 February 19th 14 07:37 AM
do you know how i can find the f(x) of the arctan? Kwstas Excel Worksheet Functions 2 January 10th 06 09:50 PM
How do I create a function into function list? Hossein Farhani Excel Programming 2 April 23rd 05 06:19 PM
What function would I create? pookie1394 Excel Worksheet Functions 0 March 11th 05 03:07 PM
where or how do i create a function that ive been given? lemel Excel Programming 5 November 5th 04 10:08 PM


All times are GMT +1. The time now is 07:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"